diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0474649..facbcb2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,7 +43,7 @@ jobs: uses: actions/checkout@v3 - name: build for integration test - uses: docker://golang:1.18 + uses: docker://golang:1.20 with: entrypoint: make args: build-static-ci @@ -56,8 +56,7 @@ jobs: gha-publish-test: runs-on: ubuntu-latest - container: - image: golang:1.18 + steps: - name: clone uses: actions/checkout@v3 @@ -65,6 +64,14 @@ jobs: # ensures we fetch tag history for the repository fetch-depth: 0 + - name: install go + uses: actions/setup-go@v4 + with: + # use version from go.mod file + go-version-file: 'go.mod' + cache: true + check-latest: true + - name: build env: GOOS: linux