diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e11de3aed..ab49b89e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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 ./... @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca98a3396..2e66ce87e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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