Skip to content

Commit

Permalink
Merge pull request #45 from liangyuanpeng/update_goversion_ci
Browse files Browse the repository at this point in the history
chore: update go version to use go.mod as go-version-file.
  • Loading branch information
siyuanfoundation authored Apr 29, 2024
2 parents 07f7a06 + 36245f4 commit 5805a88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v5
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21
- uses: actions/checkout@v4
go-version-file: go.mod
- name: tests
run: |
make test

0 comments on commit 5805a88

Please sign in to comment.