diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2acc02c8..4cc77153 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,11 +39,10 @@ jobs: - uses: actions/checkout@v3 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: - go-version-file: .go-version + go-version-file: go.mod check-latest: true - cache: true - name: golangci-lint uses: golangci/golangci-lint-action@v3 @@ -60,7 +59,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.20.4' + go-version-file: go.mod check-latest: true - name: Install Go tip