Skip to content
Snippets Groups Projects
Commit d660a1b4 authored by Bob Callaway's avatar Bob Callaway
Browse files

check for changed files at end

parent ecc5019f
No related branches found
No related tags found
No related merge requests found
...@@ -30,8 +30,7 @@ jobs: ...@@ -30,8 +30,7 @@ jobs:
run: $GITHUB_WORKSPACE/swagger validate openapi.yaml run: $GITHUB_WORKSPACE/swagger validate openapi.yaml
# Make it # Make it
- name: Build - name: Build
run: | run: make -C $GITHUB_WORKSPACE all
make -C $GITHUB_WORKSPACE all
# Lint it # Lint it
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@v2 uses: golangci/golangci-lint-action@v2
...@@ -47,4 +46,5 @@ jobs: ...@@ -47,4 +46,5 @@ jobs:
GOROOT: "" GOROOT: ""
with: with:
args: ./... args: ./...
#TODO: add check that ensures we didn't generate different code than what was checked out - name: Ensure no files were modified as a result of the build
run: git update-index --refresh && git diff-index --quiet HEAD --
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment