Skip to content

chore(ci): bump actions/checkout from 5.0.0 to 5.0.1 #568

chore(ci): bump actions/checkout from 5.0.0 to 5.0.1

chore(ci): bump actions/checkout from 5.0.0 to 5.0.1 #568

Workflow file for this run

name: CI
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
permissions:
contents: read
jobs:
commit_lint:
runs-on: ubuntu-22.04
permissions:
contents: read
pull-requests: read
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6.2.1
golangci:
name: lint
runs-on: ubuntu-22.04
permissions:
contents: read
pull-requests: read
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: 'go.mod'
- name: Run golangci-lint
run: make lint
# TODO(prometherion): enable back once golangci-lint is built from v1.24 rather than v1.23
# - name: Run golangci-lint
# uses: golangci/[email protected]
# with:
# version: v1.54.2
# args: --timeout 5m --config .golangci.yml
diff:
name: diff
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: 'go.mod'
- run: make release
env:
CGO_ENABLED: 0
- name: Checking if YAML installer file is not aligned
run: if [[ $(git diff | wc -l) -gt 0 ]]; then echo ">>> Untracked generated files have not been committed" && git --no-pager diff && exit 1; fi
- name: Checking if YAML installer generated untracked files
run: test -z "$(git ls-files --others --exclude-standard 2> /dev/null)"
- name: Checking if source code is not formatted
run: test -z "$(git diff 2> /dev/null)"