From a9757705a94a9ebc73d328dc535198fd55f9640b Mon Sep 17 00:00:00 2001 From: Gilles Miraillet Date: Fri, 8 Sep 2023 08:48:54 +0200 Subject: [PATCH] bump github actions --- .github/workflows/after-merge-dependabot.yml | 4 ++-- .github/workflows/auto-accept-dependabot.yml | 2 +- .github/workflows/codeql-analysis.yml | 8 ++++---- .github/workflows/goreleaser.yml | 8 ++++---- .github/workflows/unit-tests.yml | 6 +++--- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/after-merge-dependabot.yml b/.github/workflows/after-merge-dependabot.yml index dd00d85..b1805fa 100644 --- a/.github/workflows/after-merge-dependabot.yml +++ b/.github/workflows/after-merge-dependabot.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Fetch dependabot metadata id: dependabot-metadata - uses: dependabot/fetch-metadata@v1.1.1 + uses: dependabot/fetch-metadata@v1.6.0 with: github-token: "${{ secrets.GITHUB_TOKEN }}" @@ -50,7 +50,7 @@ jobs: echo "::warning::tag == ${tag}" - name: Create tag - uses: tvdias/github-tagger@v0.0.1 + uses: tvdias/github-tagger@v0.0.2 if: steps.compte_tag.outputs.tag != steps.semver_parser.outputs.fullversion with: repo-token: "${{ secrets.AUTO_MERGE_TOKEN }}" diff --git a/.github/workflows/auto-accept-dependabot.yml b/.github/workflows/auto-accept-dependabot.yml index b04fabe..b9fffb1 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 with: fetch-depth: 0 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4f28ddd..7140c37 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -35,11 +35,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -50,7 +50,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -64,4 +64,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index c3e033f..a731ed4 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 with: fetch-depth: 0 - name: set up go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: "1.21" - name: cache go modules - uses: actions/cache@v1 + uses: actions/cache@v3 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@v4 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 aa543fb..6de119f 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 with: fetch-depth: 0 - name: set up go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: "1.21" - name: cache go modules - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}