diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cf91f5a..90f68af 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,15 +6,16 @@ permissions: jobs: golangci-lint: - name: lint runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-go@v5 with: go-version: stable - - name: golangci-lint - uses: golangci/golangci-lint-action@v6 + cache: true + - uses: golangci/golangci-lint-action@v6 with: args: --timeout=5m version: latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c03adfd..2ae389e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: - run: git fetch --force --tags - uses: actions/setup-go@v5 with: - go-version: latest + go-version: stable cache: true - uses: goreleaser/goreleaser-action@v6 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 125566a..ac3cf05 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,6 @@ permissions: jobs: test: - name: test runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -14,6 +13,6 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v5 with: - go-version: latest + go-version: stable cache: true - run: go test