Update github workflows to use correct go version

This commit is contained in:
ionutboangiu
2023-10-13 11:33:41 -04:00
committed by Dan Christian Bogos
parent 0bc94857ca
commit f3e0669c2d
2 changed files with 2 additions and 10 deletions

View File

@@ -27,11 +27,6 @@ jobs:
# needs: check-if-duplicate-action
# if: needs.check-if-duplicate-action.outputs.should_skip != 'true'
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
go: ["stable"] # could be a good idea to consider oldstable as well
steps:
- name: Check out code
uses: actions/checkout@v3
@@ -39,8 +34,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
check-latest: true
go-version: "1.21.x"
- name: Go Format
run: gofmt -s -w . && git diff --exit-code

View File

@@ -50,6 +50,4 @@ jobs:
- name: Run integration tests
run: |
sudo su <<EOF
./integration_test.sh
EOF
sudo env "PATH=$PATH" ./integration_test.sh