Skip to content

Commit

Permalink
ci(worker): fix worker test ci go version error (#322)
Browse files Browse the repository at this point in the history
This commit makes use of the `go-version-file` option and caching behaviors of the `actions/setup-go` action so that we don't have the CI throw a go version error.
  • Loading branch information
rickstaa authored Dec 9, 2024
1 parent 0c50533 commit e85e0bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ai-worker-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go
id: go
uses: actions/setup-go@v5
with:
go-version: "1.23"
go-version-file: './go.mod'
cache: true
cache-dependency-path: go.sum

- name: Install dependencies
working-directory: worker
Expand Down

0 comments on commit e85e0bd

Please sign in to comment.