Skip to content

Commit

Permalink
run go work sync & go mod tidy; add workflow step to keep updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jmank88 committed Mar 25, 2024
1 parent 9e478e5 commit a6eb4bb
Show file tree
Hide file tree
Showing 5 changed files with 295 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@ jobs:
with:
go-version: '1.20'

- name: Ensure dependencies synced & tidy
working-directory: ./go
run: |
go work sync
pushd thdh2
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
run: |
Expand Down
4 changes: 3 additions & 1 deletion go/go.work
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
go 1.19
go 1.20

toolchain go1.21.7

use (
./ocr2/decryptionplugin
Expand Down
Loading

0 comments on commit a6eb4bb

Please sign in to comment.