Skip to content

Commit

Permalink
gh actions: upgrade deprecated checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
mcluseau committed Apr 25, 2023
1 parent 4c20819 commit 501ccff
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/backend-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: setup Go
uses: actions/setup-go@v2
Expand All @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: build backends/iptables
run: ./hack/test_backend_build.sh iptables
Expand All @@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: build backends/ipvs-as-sink
run: ./hack/test_backend_build.sh ipvs
Expand All @@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: build backends/ipvsfullstate
run: ./hack/test_backend_build.sh ipvsfullstate
Expand All @@ -60,7 +60,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: build backends/nft
run: ./hack/test_backend_build.sh nft
Expand All @@ -71,7 +71,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: build backends/ebpf
run: ./hack/test_backend_build.sh ebpf
Expand All @@ -82,7 +82,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: build backends/userspacelin
run: ./hack/test_backend_build.sh userspacelin
2 changes: 1 addition & 1 deletion .github/workflows/docker-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: setup Go
uses: actions/setup-go@v3
with:
Expand All @@ -36,20 +36,20 @@ jobs:
backend: ["iptables", "nft", "ipvs", "ipvsfullstate", "ebpf", "userspacelin"]
exclude:
- ipFamily: "ipv6"
backend: "ebpf"
backend: "ebpf"
- ipFamily: "dual"
backend: "ebpf"
backend: "ebpf"
- ipFamily: "ipv6"
backend: "userspacelin"
backend: "userspacelin"
- ipFamily: "dual"
backend: "userspacelin"
backend: "userspacelin"
env:
JOB_NAME: "kpng-e2e-${{ matrix.ipFamily }}-${{ matrix.backend }}"
IP_FAMILY: ${{ matrix.ipFamily }}
BACKEND: ${{ matrix.backend }}
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: setup ebpf backend dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/local-up-kpng.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: setup Go
uses: actions/setup-go@v3
Expand All @@ -33,7 +33,7 @@ jobs:
timeout-minutes: 30 #Guys is 30 minutes ok, or too much? Currently on Github runners it takes 5m 30s
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: KPNG local up
run: ./hack/kpng-local-up.sh
4 changes: 2 additions & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v2
with:
Expand All @@ -28,7 +28,7 @@ jobs:
sudo apt-get install -y libnl-3-dev libnl-genl-3-dev
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: run unit tests
run: ./hack/test_unit.sh
4 changes: 2 additions & 2 deletions .github/workflows/vet-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v2
Expand All @@ -28,7 +28,7 @@ jobs:
go install golang.org/x/lint/golint@latest
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: run gofmt tests
run: ./hack/verify-gofmt.sh

0 comments on commit 501ccff

Please sign in to comment.