Skip to content

Commit

Permalink
github: update checkout action to the latest version
Browse files Browse the repository at this point in the history
This should silence some warnings from the workflow logs. Also, uses the
same version in all jobs.
  • Loading branch information
marquiz authored and askervin committed Feb 2, 2024
1 parent 5845f14 commit 7c72814
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/common-build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Fetch gh-pages
run: git fetch --no-tags --prune --depth=1 origin refs/heads/gh-pages:refs/heads/gh-pages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/common-build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
IMAGE_VERSION: ${{ inputs.image-tag }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build images
run: "make images IMAGE_VERSION=${IMAGE_VERSION} Q="
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/common-codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/common-trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run Trivy in fs mode
uses: aquasecurity/trivy-action@master
Expand All @@ -36,7 +36,7 @@ jobs:
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run Trivy in fs mode
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/common-verify-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build packages
run: "make cross-packages Q="
Expand Down

0 comments on commit 7c72814

Please sign in to comment.