diff --git a/.github/workflows/auto-accept-dependabot.yml b/.github/workflows/auto-accept-dependabot.yml index b04fabe4..2cb046d3 100644 --- a/.github/workflows/auto-accept-dependabot.yml +++ b/.github/workflows/auto-accept-dependabot.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4.0.0 with: fetch-depth: 0 diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index d506e209..b1552859 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -15,17 +15,17 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4.0.0 with: fetch-depth: 0 - name: set up go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4.1.0 with: go-version: "1.21" - name: cache go modules - uses: actions/cache@v1 + uses: actions/cache@v3.3.2 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} @@ -51,7 +51,7 @@ jobs: go test -v ./... - name: run goreleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v5.0.0 if: success() && startsWith(github.ref, 'refs/tags/') with: version: latest diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index aa543fb6..59168cdf 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -9,17 +9,17 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4.0.0 with: fetch-depth: 0 - name: set up go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4.1.0 with: go-version: "1.21" - name: cache go modules - uses: actions/cache@v1 + uses: actions/cache@v3.3.2 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/updater.yaml b/.github/workflows/updater.yaml index 5a26443a..b34a78c8 100644 --- a/.github/workflows/updater.yaml +++ b/.github/workflows/updater.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.0.0 with: # [Required] Access token with `workflow` scope. token: ${{ secrets.AUTO_UPDATE_TOKEN }}