Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update CI workflows to use Nodejs v20 #27

Merged
merged 2 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

- name: Gather build metadata
id: meta
uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4.6.0
uses: docker/metadata-action@v5
with:
images: ${{ steps.image-name.outputs.value }}
flavor: |
Expand All @@ -83,7 +83,7 @@ jobs:
# Multiple exporters are not supported yet
# See https://github.com/moby/buildkit/pull/2760
- name: Determine build output
uses: haya14busa/action-cond@1d6e8a12b20cdb4f1954feef9aa475b9c390cab5 # v1.1.1
uses: haya14busa/action-cond@v1.2.1
id: build-output
with:
cond: ${{ inputs.publish }}
Expand All @@ -100,7 +100,7 @@ jobs:

- name: Build and push image
id: build
uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 # v4.1.1
uses: docker/build-push-action@v5 # v4.1.1
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
output: trivy-results.sarif

- name: Upload Trivy scan results as artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@v4
with:
name: "[${{ github.job }}] Trivy scan results"
path: trivy-results.sarif
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '1.21'

Expand All @@ -37,7 +37,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '1.21'

Expand All @@ -55,12 +55,12 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '1.21'

- name: Cache licenses
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: licensei-v2-${{ hashFiles('go.sum') }}
path: |
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build and export
uses: docker/build-push-action@v4
Expand All @@ -32,7 +32,7 @@ jobs:
outputs: type=docker,dest=/tmp/controller.tar

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: controller
path: /tmp/controller.tar
Expand All @@ -49,10 +49,10 @@ jobs:

steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: controller
path: /tmp
Expand All @@ -63,12 +63,12 @@ jobs:
docker image ls -a

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}

- name: Set up kubectl
uses: azure/setup-kubectl@v3
uses: azure/setup-kubectl@v4.0.0
with:
version: ${{ env.KUBECTL_VERSION }}

Expand All @@ -83,7 +83,7 @@ jobs:

- name: Archive Test Results
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: go-e2e-test-cluster-logs
path: build/_test
Expand All @@ -100,10 +100,10 @@ jobs:

steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: controller
path: /tmp
Expand All @@ -114,12 +114,12 @@ jobs:
docker image ls -a

- name: Set up kubectl
uses: azure/setup-kubectl@v3
uses: azure/setup-kubectl@v4.0.0
with:
version: ${{ env.KUBECTL_VERSION }}

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}

Expand Down Expand Up @@ -159,8 +159,8 @@ jobs:

- name: Archive Test Results
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: script-e2e-test-cluster-logs
name: script-e2e-test-cluster-logs-${{ matrix.kube }}
path: build/_test
retention-days: 5
Loading