Skip to content

Commit

Permalink
ci: build with latest stable Go version
Browse files Browse the repository at this point in the history
  • Loading branch information
anitgandhi committed Jul 25, 2024
1 parent ad7dc34 commit 86cb2b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
go-version: 'stable'
- run: |
go env
go build ./cmd/gobgp
Expand All @@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
go-version: 'stable'
- run: |
go test -race -timeout 240s ./...
if [ "$(go env GOARCH)" = "amd64" ]; then go test -race github.com/osrg/gobgp/v3/pkg/packet/bgp -run ^Test_RaceCondition$; else echo 'skip'; fi
Expand All @@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
go-version: 'stable'
- run: |
go env GOARCH
go test -timeout 240s ./...
Expand All @@ -56,7 +56,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
go-version: 'stable'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3

Expand All @@ -67,7 +67,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
go-version: 'stable'
- run: |
python test/scenario_test/ci-scripts/build_embeded_go.py docs/sources/lib.md
python test/scenario_test/ci-scripts/build_embeded_go.py docs/sources/lib-ls.md
Expand All @@ -92,7 +92,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
go-version: 'stable'
- name: container image
run: |
sudo apt-get install python3-setuptools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
go-version: 'stable'

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
Expand Down

0 comments on commit 86cb2b5

Please sign in to comment.