Bump actions/checkout from 4.1.2 to 4.2.1 #309
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
on: | |
pull_request: ~ | |
push: | |
branches: | |
- main | |
permissions: read-all | |
jobs: | |
dev-env: | |
name: Dev env | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Build development image | |
run: make dev-img | |
format: | |
name: Format | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Install tooling | |
uses: asdf-vm/actions/install@4f8f7939dd917fc656bb7c3575969a5988c28364 # v3.0.0 | |
- name: Check formatting | |
run: make format-check | |
lint: | |
name: Lint | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Install tooling | |
uses: asdf-vm/actions/install@4f8f7939dd917fc656bb7c3575969a5988c28364 # v3.0.0 | |
- name: Lint CI workflows | |
if: ${{ failure() || success() }} | |
run: make lint-ci | |
- name: Lint Containerfile | |
if: ${{ failure() || success() }} | |
run: make lint-container | |
- name: Lint shell scripts | |
if: ${{ failure() || success() }} | |
run: make lint-sh | |
test: | |
name: Test | |
runs-on: ubuntu-24.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
command: | |
- download | |
- install | |
- list-all | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Run ${{ matrix.command }} | |
env: | |
COMMAND: ${{ matrix.command }} | |
run: make "test-${COMMAND}" version=1.29.0 | |
test-e2e: | |
name: Test end-to-end (${{ matrix.name }}) | |
runs-on: ${{ matrix.os }} | |
needs: | |
- test | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: MacOS | |
os: macos-14 | |
- name: Ubuntu | |
os: ubuntu-24.04 | |
steps: | |
- name: asdf plugin test | |
uses: asdf-vm/actions/plugin-test@4f8f7939dd917fc656bb7c3575969a5988c28364 # v3.0.0 | |
with: | |
command: yamllint --help | |
version: 1.29.0 | |
secrets: | |
name: Secrets | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
with: | |
fetch-depth: 0 | |
- name: Scan for secrets | |
uses: gitleaks/gitleaks-action@cb7149a9b57195b609c63e8518d2c6056677d2d0 # v2.3.3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITLEAKS_ENABLE_COMMENTS: false | |
GITLEAKS_ENABLE_UPLOAD_ARTIFACT: false | |
GITLEAKS_ENABLE_SUMMARY: false |