Skip to content

Commit

Permalink
fix: update actions (#23)
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Baker <[email protected]>
  • Loading branch information
rbtr committed Mar 12, 2024
1 parent d2e5bf1 commit b64e6cb
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Build and Deploy Retina.sh
on:
push:
branches: ["docs", "main", "ghpages"]
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
Expand All @@ -21,18 +21,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v3
- uses: actions/setup-node@v3
uses: actions/configure-pages@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: build
run: |
npm install --prefix site/
npm run build --prefix site/
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: "./site/build"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
uses: golangci/golangci-lint-action@v4
with:
version: v1.55
args: --concurrency 4 --verbose --new-from-rev=origin/master --config=.golangci.yml --timeout=25m
args: --concurrency 4 --verbose --config=.golangci.yaml --timeout=25m
only-new-issues: true
skip-cache: true
4 changes: 2 additions & 2 deletions .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: docker/setup-qemu-action@v3

- name: Az CLI login
uses: azure/login@v1
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
uses: docker/setup-qemu-action@v3

- name: Az CLI login
uses: azure/login@v1
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: "^1.18"

Expand Down Expand Up @@ -58,14 +58,14 @@ jobs:

- name: Archive Kubernetes logs
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: kubernetes-node-logs
path: kubernetes-logs

- name: Archive iptable and ipset
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: iptable-ipset-snapshot
path: ./test/integration/plugin-simulations/npm-iptables
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdownlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v9
with:
command: config
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: "^1.20"
go-version: "^1.21"

- name: Make Retina Test image
env:
Expand All @@ -31,7 +31,7 @@ jobs:
run: |
make retina-test-image PLATFORM=linux/amd64
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-files
path: ./coverage*

0 comments on commit b64e6cb

Please sign in to comment.