You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by zh...@apache.org on 2022/12/02 08:11:42 UTC

[apisix-ingress-controller] branch master updated: chore: bump actions. (#1484)

This is an automated email from the ASF dual-hosted git repository.

zhangjintao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new bccf762a chore: bump actions. (#1484)
bccf762a is described below

commit bccf762ac1b6386e4bd8911180ea13ac5a14bdfe
Author: Jintao Zhang <zh...@gmail.com>
AuthorDate: Fri Dec 2 16:11:37 2022 +0800

    chore: bump actions. (#1484)
    
    
    * Node.js 12 actions are deprecated. For more information see:
      https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
    
    * The `set-output` command is deprecated and will be disabled soon.
      Please upgrade to using Environment Files. For more information see:
      https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
    
    Signed-off-by: Jintao Zhang <zh...@gmail.com>
---
 .github/actions/markdown-link-check       |  2 +-
 .github/actions/paths-filter              |  2 +-
 .github/workflows/codeql-analysis.yml     |  4 ++--
 .github/workflows/e2e-test-ci-v2-cron.yml | 11 ++++++-----
 .github/workflows/e2e-test-ci.yml         | 11 ++++++-----
 .github/workflows/golangci-lint.yml       |  5 +++--
 .github/workflows/k8s-timer-ci.yml        |  8 ++++----
 .github/workflows/license-checker.yml     |  2 +-
 .github/workflows/lint-checker.yml        |  9 +++++----
 .github/workflows/unit-test-ci.yml        |  5 +++--
 .github/workflows/verify-codegen.yml      |  5 +++--
 11 files changed, 35 insertions(+), 29 deletions(-)

diff --git a/.github/actions/markdown-link-check b/.github/actions/markdown-link-check
index 9710f0fe..4d97ad89 160000
--- a/.github/actions/markdown-link-check
+++ b/.github/actions/markdown-link-check
@@ -1 +1 @@
-Subproject commit 9710f0fec812ce0a3b98bef4c9d842fc1f39d976
+Subproject commit 4d97ad89bbb0de4be573a9d7a2fc0ce900afc519
diff --git a/.github/actions/paths-filter b/.github/actions/paths-filter
index 78ab00f8..45125854 160000
--- a/.github/actions/paths-filter
+++ b/.github/actions/paths-filter
@@ -1 +1 @@
-Subproject commit 78ab00f87740f82aec8ed8826eb4c3c851044126
+Subproject commit 4512585405083f25c027a35db413c2b3b9006d50
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 6a6df773..e8fb389f 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -37,7 +37,7 @@ jobs:
       go: ${{ steps.filter.outputs.go }}
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
 
@@ -66,7 +66,7 @@ jobs:
 
     steps:
     - name: Checkout repository
-      uses: actions/checkout@v2
+      uses: actions/checkout@v3
 
     # Initializes the CodeQL tools for scanning.
     - name: Initialize CodeQL
diff --git a/.github/workflows/e2e-test-ci-v2-cron.yml b/.github/workflows/e2e-test-ci-v2-cron.yml
index 5c611b3e..9a7bcae8 100644
--- a/.github/workflows/e2e-test-ci-v2-cron.yml
+++ b/.github/workflows/e2e-test-ci-v2-cron.yml
@@ -40,7 +40,7 @@ jobs:
       go: ${{ steps.filter.outputs.go }}
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
 
@@ -62,6 +62,7 @@ jobs:
               - 'test/e2e/**/*'
               - 'conf/**'
               - 'utils/**'
+              - ".github/**"
   build:
     name: Build
     runs-on: ubuntu-latest
@@ -127,7 +128,7 @@ jobs:
     if: needs.changes.outputs.go == 'true'
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
         with:
           submodules: recursive
 
@@ -139,7 +140,7 @@ jobs:
         run: |
           SUITES=($(find test/e2e -type d -iname 'suite-*' | grep -E -o '(\w|\-)*' | grep -v 'test' | grep -v 'e2e' | sort | uniq -u))
           echo $SUITES
-          echo "::set-output name=matrix::$(jq --compact-output --null-input '$ARGS.positional' --args "${SUITES[@]}")"
+          echo "matrix=$(jq --compact-output --null-input '$ARGS.positional' --args "${SUITES[@]}")" >> $GITHUB_OUTPUT
     outputs:
       matrix: ${{ steps.set-matrix.outputs.matrix }}
 
@@ -155,7 +156,7 @@ jobs:
         suite: ${{ fromJson(needs.prepare.outputs.matrix) }}
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
       - name: Setup Go Env
@@ -169,7 +170,7 @@ jobs:
           sudo cp ~/go/bin/ginkgo /usr/local/bin
 
       - name: cache
-        uses: actions/download-artifact@v2 # v2
+        uses: actions/download-artifact@v3 # v3
         with:
           name: docker-v2.tar.gz
 
diff --git a/.github/workflows/e2e-test-ci.yml b/.github/workflows/e2e-test-ci.yml
index 449f97c9..a1857550 100644
--- a/.github/workflows/e2e-test-ci.yml
+++ b/.github/workflows/e2e-test-ci.yml
@@ -40,7 +40,7 @@ jobs:
       go: ${{ steps.filter.outputs.go }}
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
 
@@ -62,6 +62,7 @@ jobs:
               - 'test/e2e/**/*'
               - 'conf/**'
               - 'utils/**'
+              - ".github/**"
   build:
     name: Build
     runs-on: ubuntu-latest
@@ -126,7 +127,7 @@ jobs:
     if: needs.changes.outputs.go == 'true'
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
         with:
           submodules: recursive
 
@@ -138,7 +139,7 @@ jobs:
         run: |
           SUITES=($(find test/e2e -type d -iname 'suite-*' | grep -E -o '(\w|\-)*' | grep -v 'test' | grep -v 'e2e' | sort | uniq -u))
           echo $SUITES
-          echo "::set-output name=matrix::$(jq --compact-output --null-input '$ARGS.positional' --args "${SUITES[@]}")"
+          echo "matrix=$(jq --compact-output --null-input '$ARGS.positional' --args "${SUITES[@]}")" >> $GITHUB_OUTPUT
     outputs:
       matrix: ${{ steps.set-matrix.outputs.matrix }}
 
@@ -154,7 +155,7 @@ jobs:
         suite: ${{ fromJson(needs.prepare.outputs.matrix) }}
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
       - name: Setup Go Env
@@ -168,7 +169,7 @@ jobs:
           sudo cp ~/go/bin/ginkgo /usr/local/bin
 
       - name: cache
-        uses: actions/download-artifact@v2 # v2
+        uses: actions/download-artifact@v3 # v3
         with:
           name: docker.tar.gz
 
diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml
index 5e5a4c5a..b695f856 100644
--- a/.github/workflows/golangci-lint.yml
+++ b/.github/workflows/golangci-lint.yml
@@ -36,7 +36,7 @@ jobs:
       go: ${{ steps.filter.outputs.go }}
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
 
@@ -58,6 +58,7 @@ jobs:
               - 'test/e2e/**/*'
               - 'conf/**'
               - 'utils/**'
+              - ".github/**"
   golangci:
     name: lint
     needs: changes
@@ -65,7 +66,7 @@ jobs:
       (needs.changes.outputs.go == 'true')
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - name: Setup Go Env
         uses: actions/setup-go@v3
         with:
diff --git a/.github/workflows/k8s-timer-ci.yml b/.github/workflows/k8s-timer-ci.yml
index 169030ba..535d11ac 100644
--- a/.github/workflows/k8s-timer-ci.yml
+++ b/.github/workflows/k8s-timer-ci.yml
@@ -32,7 +32,7 @@ jobs:
       go: ${{ steps.filter.outputs.go }}
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
 
@@ -117,7 +117,7 @@ jobs:
     if: needs.changes.outputs.go == 'true'
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
         with:
           submodules: recursive
 
@@ -139,7 +139,7 @@ jobs:
           - v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
 
@@ -154,7 +154,7 @@ jobs:
           sudo cp ~/go/bin/ginkgo /usr/local/bin
 
       - name: cache
-        uses: actions/download-artifact@v2 # v2
+        uses: actions/download-artifact@v3 # v3
         with:
           name: docker.tar.gz
 
diff --git a/.github/workflows/license-checker.yml b/.github/workflows/license-checker.yml
index 5587631b..e92cb0c1 100644
--- a/.github/workflows/license-checker.yml
+++ b/.github/workflows/license-checker.yml
@@ -33,7 +33,7 @@ jobs:
     runs-on: ubuntu-latest
 
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - name: Check License Header
         uses: apache/skywalking-eyes@v0.3.0
         env:
diff --git a/.github/workflows/lint-checker.yml b/.github/workflows/lint-checker.yml
index 0682f545..5684e2ad 100644
--- a/.github/workflows/lint-checker.yml
+++ b/.github/workflows/lint-checker.yml
@@ -35,7 +35,7 @@ jobs:
       go: ${{ steps.filter.outputs.go }}
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
 
@@ -57,6 +57,7 @@ jobs:
               - 'test/e2e/**/*'
               - 'conf/**'
               - 'utils/**'
+              - ".github/**"
 
   run-test:
     needs: changes
@@ -64,7 +65,7 @@ jobs:
       (needs.changes.outputs.go == 'true')
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - name: Setup Go Env
         uses: actions/setup-go@v3
         with:
@@ -85,7 +86,7 @@ jobs:
     name: 🍇 Markdown
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - name: 🚀 Use Node.js
         uses: actions/setup-node@v1
         with:
@@ -99,7 +100,7 @@ jobs:
     runs-on: ubuntu-latest
     name: Check Markdown links
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
         with:
           submodules: recursive
       - uses: ./.github/actions/markdown-link-check
diff --git a/.github/workflows/unit-test-ci.yml b/.github/workflows/unit-test-ci.yml
index 0890771d..c1b10899 100644
--- a/.github/workflows/unit-test-ci.yml
+++ b/.github/workflows/unit-test-ci.yml
@@ -35,7 +35,7 @@ jobs:
       go: ${{ steps.filter.outputs.go }}
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
 
@@ -57,6 +57,7 @@ jobs:
               - 'test/e2e/**/*'
               - 'conf/**'
               - 'utils/**'
+              - ".github/**"
 
   run-test:
     needs: changes
@@ -64,7 +65,7 @@ jobs:
       (needs.changes.outputs.go == 'true')
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - name: Setup Go Env
         uses: actions/setup-go@v3
         with:
diff --git a/.github/workflows/verify-codegen.yml b/.github/workflows/verify-codegen.yml
index 32576dd7..3a55f1eb 100644
--- a/.github/workflows/verify-codegen.yml
+++ b/.github/workflows/verify-codegen.yml
@@ -35,7 +35,7 @@ jobs:
       go: ${{ steps.filter.outputs.go }}
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           submodules: recursive
 
@@ -57,13 +57,14 @@ jobs:
               - 'test/e2e/**/*'
               - 'conf/**'
               - 'utils/**'
+              - ".github/**"
   run-test:
     needs: changes
     if: |
       (needs.changes.outputs.go == 'true')
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - name: Setup Go Env
         uses: actions/setup-go@v3
         with: