diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 894e53d..04f5a0d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,9 +29,9 @@ jobs: uses: actions/checkout@v4 - name: Set up Go 1.21.x - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version-file: 'go.mod' cache: true id: go diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 1ed66d5..dba3c6a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -33,16 +33,16 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Set up Go 1.21.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version-file: 'go.mod' cache: true id: go - - name: Checkout code - uses: actions/checkout@v3 - - name: Download Go modules run: go mod download env: