From cacbac3264f5f57a5f2036f82f4d4c5cc9a75dd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuazhongming=E2=80=9D?= Date: Mon, 18 Nov 2024 23:06:04 +0800 Subject: [PATCH 1/2] upgrade ci action version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: “huazhongming” --- .github/workflows/layotto-ci.yml | 70 ++++++++++++++++---------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/layotto-ci.yml b/.github/workflows/layotto-ci.yml index 444d24d344..6bf35f8719 100644 --- a/.github/workflows/layotto-ci.yml +++ b/.github/workflows/layotto-ci.yml @@ -23,9 +23,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Format Go @@ -38,7 +38,7 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - name: Checkout Sources - uses: actions/checkout@v2 + uses: actions/checkout@v4 - id: set-matrix run: sh ./etc/script/resolve-modules.sh golangci-lint: @@ -48,13 +48,13 @@ jobs: strategy: matrix: ${{ fromJson(needs.resolve-modules.outputs.matrix) }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.18.5 - name: Go Lint Test - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 with: version: v1.46.2 working-directory: ${{ matrix.workdir }} @@ -65,9 +65,9 @@ jobs: needs: [style-check] runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Go Unit Test @@ -79,7 +79,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Test Coverage run: make coverage - name: Post Coverage @@ -91,11 +91,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Run Integrate tests run: make integrate-wasm @@ -105,11 +105,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Run Integrate tests run: make integrate-runtime @@ -119,16 +119,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build Artifact run: | make go.build.darwin_amd64.layotto - name: Publish Artifact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: name: layotto.darwin_amd64 path: _output/darwin/amd64/layotto @@ -141,16 +141,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build Artifact run: | make go.build.darwin_arm64.layotto - name: Publish Artifact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: name: layotto.darwin_arm64 path: _output/darwin/arm64/layotto @@ -163,16 +163,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build Artifact run: | make go.build.linux_amd64.layotto - name: Publish Artifact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: name: layotto.linux_amd64 path: _output/linux/amd64/layotto @@ -185,7 +185,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Check out code @@ -194,7 +194,7 @@ jobs: run: | make go.build.linux_arm64.layotto - name: Publish Artifact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: name: layotto.linux_arm64 path: _output/linux/arm64/layotto @@ -207,11 +207,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 # TODO(@Xunzhuo): open it after stabilizing wasm cmds # - name: Build Artifact # run: | @@ -231,11 +231,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 # TODO(@Xunzhuo): open it after stabilizing wasm cmds # - name: Login to DockerHub # uses: docker/login-action@v1 @@ -292,13 +292,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -321,9 +321,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} From f84d0346196169ef98fe58cbc86d9f973615ab7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuazhongming=E2=80=9D?= Date: Mon, 18 Nov 2024 23:13:23 +0800 Subject: [PATCH 2/2] upgrade github action version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: “huazhongming” --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/dead-link-checker.yaml | 2 +- .github/workflows/docusaurus-ci.yml | 2 +- .github/workflows/kube-bot.yaml | 2 +- .github/workflows/layotto-ci.yml | 12 ++-- .github/workflows/layotto-release.yml | 82 ++++++++++++------------ .github/workflows/license-checker.yml | 2 +- .github/workflows/markdown-checker.yml | 2 +- .github/workflows/proto-checker.yml | 2 +- 9 files changed, 54 insertions(+), 54 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 48d2ad10b6..d969c4317b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. diff --git a/.github/workflows/dead-link-checker.yaml b/.github/workflows/dead-link-checker.yaml index 53e4ea6a43..376b8bfbf4 100644 --- a/.github/workflows/dead-link-checker.yaml +++ b/.github/workflows/dead-link-checker.yaml @@ -18,7 +18,7 @@ jobs: timeout-minutes: 30 steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 # - name: Install and start docusaurus server # run: | # sudo npm install diff --git a/.github/workflows/docusaurus-ci.yml b/.github/workflows/docusaurus-ci.yml index c497e6993a..fb19eebe3a 100644 --- a/.github/workflows/docusaurus-ci.yml +++ b/.github/workflows/docusaurus-ci.yml @@ -10,7 +10,7 @@ jobs: # container: pandoc/latex jj steps: - name: Use Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: 18.20.3 - name: Checkout diff --git a/.github/workflows/kube-bot.yaml b/.github/workflows/kube-bot.yaml index 95c985f55b..482980e694 100644 --- a/.github/workflows/kube-bot.yaml +++ b/.github/workflows/kube-bot.yaml @@ -92,7 +92,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Issue Opened uses: Xunzhuo/prowox@v1.0.0 diff --git a/.github/workflows/layotto-ci.yml b/.github/workflows/layotto-ci.yml index 6bf35f8719..93c5bb3d63 100644 --- a/.github/workflows/layotto-ci.yml +++ b/.github/workflows/layotto-ci.yml @@ -189,7 +189,7 @@ jobs: with: go-version: 1.18.1 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build Artifact run: | make go.build.linux_arm64.layotto @@ -238,7 +238,7 @@ jobs: uses: docker/setup-buildx-action@v3 # TODO(@Xunzhuo): open it after stabilizing wasm cmds # - name: Login to DockerHub - # uses: docker/login-action@v1 + # uses: docker/login-action@v3 # with: # username: ${{ secrets.DOCKERHUB_USERNAME }} # password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -256,13 +256,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/layotto-release.yml b/.github/workflows/layotto-release.yml index d218579d42..baee6e8a1c 100644 --- a/.github/workflows/layotto-release.yml +++ b/.github/workflows/layotto-release.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Go if: ${{ startsWith(github.ref, 'refs/tags/') }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Format Go @@ -26,7 +26,7 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - name: Checkout Sources - uses: actions/checkout@v2 + uses: actions/checkout@v4 - id: set-matrix run: sh ./etc/script/resolve-modules.sh golangci-lint: @@ -36,13 +36,13 @@ jobs: strategy: matrix: ${{ fromJson(needs.resolve-modules.outputs.matrix) }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.18.5 - name: Go Lint Test - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 with: version: v1.46.2 working-directory: ${{ matrix.workdir }} @@ -53,10 +53,10 @@ jobs: needs: [style-check] runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go if: ${{ startsWith(github.ref, 'refs/tags/') }} - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Go Unit Test @@ -68,7 +68,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Test Coverage run: make coverage - name: Post Coverage @@ -80,11 +80,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Run Integrate tests run: make integrate-wasm @@ -94,11 +94,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Run Integrate tests run: make integrate-runtime @@ -108,16 +108,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build Artifact run: | make go.build.darwin_amd64.layotto - name: Publish Artifact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: name: layotto.darwin_amd64 path: _output/darwin/amd64/layotto @@ -140,16 +140,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build Artifact run: | make go.build.darwin_arm64.layotto - name: Publish Artifact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: name: layotto.darwin_arm64 path: _output/darwin/arm64/layotto @@ -171,16 +171,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build Artifact run: | make go.build.linux_amd64.layotto - name: Publish Artifact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: name: layotto.linux_amd64 path: _output/linux/amd64/layotto @@ -202,16 +202,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@5 with: go-version: 1.18.1 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build Artifact run: | make go.build.linux_arm64.layotto - name: Publish Artifact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: name: layotto.linux_arm64 path: _output/linux/arm64/layotto @@ -233,11 +233,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 1.18.1 - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 # TODO(@Xunzhuo): open it after stabilizing wasm cmds # - name: Build Artifact # run: | @@ -265,14 +265,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 # TODO(@Xunzhuo): open it after stabilizing wasm cmds # - name: Login to DockerHub - # uses: docker/login-action@v1 + # uses: docker/login-action@v3 # with: # username: ${{ secrets.DOCKERHUB_USERNAME }} # password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -289,13 +289,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -318,13 +318,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -346,9 +346,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/license-checker.yml b/.github/workflows/license-checker.yml index e6d666faaa..28e730a331 100644 --- a/.github/workflows/license-checker.yml +++ b/.github/workflows/license-checker.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Check License Header uses: apache/skywalking-eyes@v0.1.0 env: diff --git a/.github/workflows/markdown-checker.yml b/.github/workflows/markdown-checker.yml index be50a0a566..9e7bd49216 100644 --- a/.github/workflows/markdown-checker.yml +++ b/.github/workflows/markdown-checker.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Check markdown grammar in the docs directory uses: nosborn/github-action-markdown-cli@v3.1.0 diff --git a/.github/workflows/proto-checker.yml b/.github/workflows/proto-checker.yml index 665e89ff84..150eeabb65 100644 --- a/.github/workflows/proto-checker.yml +++ b/.github/workflows/proto-checker.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: buf-setup uses: bufbuild/buf-setup-action@v1