Skip to content

Commit

Permalink
upgrade github action version
Browse files Browse the repository at this point in the history
Signed-off-by: “huazhongming” <[email protected]>
  • Loading branch information
CrazyHZM committed Nov 18, 2024
1 parent f5196ab commit f84d034
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dead-link-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docusaurus-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kube-bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/layotto-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down
82 changes: 41 additions & 41 deletions .github/workflows/layotto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

Expand All @@ -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

Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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: |
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Check License Header
uses: apache/[email protected]
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proto-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f84d034

Please sign in to comment.