Skip to content

Commit

Permalink
feat: upgrade ci action version (#1080)
Browse files Browse the repository at this point in the history
* upgrade ci action version

Signed-off-by: “huazhongming” <[email protected]>

* upgrade github action version

Signed-off-by: “huazhongming” <[email protected]>

---------

Signed-off-by: “huazhongming” <[email protected]>
  • Loading branch information
CrazyHZM authored Nov 19, 2024
1 parent 576685d commit f9dfcaf
Show file tree
Hide file tree
Showing 9 changed files with 89 additions and 89 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
82 changes: 41 additions & 41 deletions .github/workflows/layotto-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

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

Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -185,16 +185,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_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 @@ -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: |
Expand All @@ -231,14 +231,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 @@ -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 Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down
Loading

0 comments on commit f9dfcaf

Please sign in to comment.