Skip to content

Commit

Permalink
update workflow action version
Browse files Browse the repository at this point in the history
  • Loading branch information
chengxiangdong committed Aug 21, 2024
1 parent a252143 commit af523f5
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.19.x
go-version: 1.19
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Check vendors
run: hack/verify-vendor.sh
- name: Check gofmt
Expand All @@ -26,15 +26,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Number of commits to fetch. 0 indicates all history for all branches and tags.
# We need to guess version via git tags.
fetch-depth: 0
- name: install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.19.x
go-version: 1.19
- name: compile
run: make all
test:
Expand All @@ -43,11 +43,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.19.x
go-version: 1.19
- name: make test
run: make test
e2e:
Expand All @@ -60,20 +60,20 @@ jobs:
max-parallel: 1
steps:
- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.19.x
go-version: 1.19
- name: run e2e
run: |
export ARTIFACTS_PATH=${{ github.workspace }}/e2e-logs
./hack/run-e2e.sh
- name: upload logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: e2e_log
path: ${{ github.workspace }}/e2e-logs/

0 comments on commit af523f5

Please sign in to comment.