Skip to content

Commit

Permalink
Update deprecated github actions
Browse files Browse the repository at this point in the history
Signed-off-by: NikitaSkrynnik <[email protected]>
  • Loading branch information
NikitaSkrynnik committed Mar 13, 2024
1 parent d34e91d commit 90d86ec
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,21 @@ jobs:
METAL_AUTH_TOKEN: ${{ secrets.PACKET_AUTH_TOKEN }}

- name: Set up go
uses: actions/setup-go@v1
uses: actions/setup-go@v5
with:
go-version: 1.20.11
- name: Checkout files
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: ${{ github.repository }}


- name: Install kind
uses: engineerd/setup-kind@v0.5.0
uses: helm/kind-action@v1
with:
config: ${{ github.repository }}/kind-cluster-config.yaml
version: v0.20.0
image: kindest/node:v1.28.0
node_image: kindest/node:v1.28.0

- name: Check kind
run: |
Expand All @@ -96,6 +97,19 @@ jobs:
mv ./clusterctl /usr/local/bin/clusterctl
clusterctl version
- name: Install metal CLI
run: |
curl -L https://github.com/equinix/metal-cli/releases/download/v0.16.0/metal-linux-amd64 -o metal
chmod +x ./metal
mv ./metal /usr/local/bin/metal
metal -v
- name: Checkout deployments
uses: actions/checkout@v4
with:
repository: networkservicemesh/deployments-k8s
path: networkservicemesh/deployments-k8s

- name: Setup ssh
working-directory: ${{ github.repository }}
id: setup_ssh
Expand All @@ -109,7 +123,7 @@ jobs:
METAL_AUTH_TOKEN: ${{ secrets.PACKET_AUTH_TOKEN }}

- name: Setup cluster
uses: nick-fields/retry@v2.8.3
uses: nick-fields/retry@v3
with:
timeout_minutes: 50
max_attempts: 3
Expand Down Expand Up @@ -144,7 +158,7 @@ jobs:
working-directory: ${{ github.repository }}

- name: Upload logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: ${{ matrix.CNI }}-logs
Expand Down

0 comments on commit 90d86ec

Please sign in to comment.