diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4fc2521..e436c13 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: uses: actions/checkout@v3 - name: Setup Go ${{ env.GO_VERSION }} - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 76627e5..d5b8a6a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,21 +19,13 @@ jobs: steps: - name: Setup Go ${{ env.GO_VERSION }} - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }} - name: Checkout code uses: actions/checkout@v3 - - name: Cache Go modules - uses: actions/cache@v3.3.1 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-${{ env.GO_VERSION }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-${{ env.GO_VERSION }}-go- - - name: Run tests run: make test @@ -47,21 +39,13 @@ jobs: steps: - name: Setup Go ${{ env.GO_VERSION }} - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }} - name: Checkout code uses: actions/checkout@v3 - - name: Cache Go modules - uses: actions/cache@v3.3.1 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-${{ env.GO_VERSION }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-${{ env.GO_VERSION }}-go- - - name: Run linter uses: golangci/golangci-lint-action@v3 with: