From c9d94eebbd5615e07e1049479c8e719b5f36f3fb Mon Sep 17 00:00:00 2001 From: Alper Rifat Ulucinar Date: Wed, 8 Feb 2023 10:57:33 +0300 Subject: [PATCH] Bump Github workflow dependencies - Bump fkirc/skip-duplicate-actions Github action to v5.3.0 - Remove the deprecated set-output command usage - Bump actions/cache Github action to v3 Signed-off-by: Alper Rifat Ulucinar --- .github/workflows/ci.yml | 26 +++++++++++++------------- .github/workflows/codeql.yml | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea82b57a..e74425c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Detect No-op Changes id: noop - uses: fkirc/skip-duplicate-actions@v2.1.0 + uses: fkirc/skip-duplicate-actions@v5.3.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} paths_ignore: '["**.md", "**.png", "**.jpg"]' @@ -54,21 +54,21 @@ jobs: - name: Find the Go Build Cache id: go - run: echo "::set-output name=cache::$(go env GOCACHE)" + run: echo "cache=$(go env GOCACHE)" >> $GITHUB_OUTPUT - name: Find the Go Build Cache id: gomod - run: echo "::set-output name=cache::$(go env GOCACHE)" + run: echo "cache=$(go env GOCACHE)" >> $GITHUB_OUTPUT - name: Cache the Go Build Cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.go.outputs.cache }} key: ${{ runner.os }}-build-lint-${{ hashFiles('**/go.sum') }} restore-keys: ${{ runner.os }}-build-lint- - name: Cache Go Dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: .work/pkg key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }} @@ -105,18 +105,18 @@ jobs: - name: Find the Go Build Cache id: go-cache-paths run: | - echo "::set-output name=go-build::$(make go.cachedir)" - echo "::set-output name=go-mod::$(make go.mod.cachedir)" + echo "go-build=$(make go.cachedir)" >> $GITHUB_OUTPUT + echo "go-mod=$(make go.mod.cachedir)" >> $GITHUB_OUTPUT - name: Cache the Go Build Cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.go-cache-paths.outputs.go-build }} key: ${{ runner.os }}-build-check-diff-${{ hashFiles('**/go.sum') }} restore-keys: ${{ runner.os }}-build-check-diff- - name: Cache Go Dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.go-cache-paths.outputs.go-mod }} key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }} @@ -150,18 +150,18 @@ jobs: - name: Find the Go Build Cache id: go-cache-paths run: | - echo "::set-output name=go-build::$(make go.cachedir)" - echo "::set-output name=go-mod::$(make go.mod.cachedir)" + echo "go-build=$(make go.cachedir)" >> $GITHUB_OUTPUT + echo "go-mod=$(make go.mod.cachedir)" >> $GITHUB_OUTPUT - name: Cache the Go Build Cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.go-cache-paths.outputs.go-build }} key: ${{ runner.os }}-build-unit-tests-${{ hashFiles('**/go.sum') }} restore-keys: ${{ runner.os }}-build-unit-tests- - name: Cache Go Dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.go-cache-paths.outputs.go-mod }} key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 2e50bcfd..2b51acbd 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Detect No-op Changes id: noop - uses: fkirc/skip-duplicate-actions@v2.1.0 + uses: fkirc/skip-duplicate-actions@v5.3.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} paths_ignore: '["**.md", "**.png", "**.jpg"]'