Skip to content

Commit

Permalink
Merge pull request #27 from kube-logging/actions-nodejs20
Browse files Browse the repository at this point in the history
chore(deps): update CI workflows to use Nodejs v20
  • Loading branch information
OverOrion authored Mar 28, 2024
2 parents 3c45645 + 45acef6 commit ccde13c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
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.22'

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.22'

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.22'

- 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

0 comments on commit ccde13c

Please sign in to comment.