Skip to content

Commit

Permalink
add workflow step to keep deps synced & tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
jmank88 committed Mar 29, 2024
1 parent 9e478e5 commit 5086209
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,19 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'

- name: Ensure dependencies synced & tidy
working-directory: ./go
run: |
go work sync
pushd tdh2
go mod tidy
popd
pushd ocr2/decryptionplugin
go mod tidy
popd
git diff --minimal --exit-code
- name: Build and test OCR2 plugin
working-directory: ./go/ocr2/decryptionplugin
Expand Down

0 comments on commit 5086209

Please sign in to comment.