diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 0f4ffd7..47445c6 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -28,11 +28,14 @@ jobs: name: CI runs-on: ubuntu-latest timeout-minutes: 15 - container: golang:1.21 steps: - name: Checkout code uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '1.22' + - name: Build run: go build -buildvcs=false . diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 8511af8..41d4e17 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -26,11 +26,14 @@ jobs: name: CI runs-on: ubuntu-latest timeout-minutes: 15 - container: golang:1.21 steps: - name: Checkout code uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '1.22' + - name: Build run: go build -buildvcs=false .