ci(deps): Bump actions/setup-node from 4.0.4 to 4.1.0 #941
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: Diff checks | |
permissions: {} | |
on: | |
push: | |
branches: [ "*" ] | |
pull_request: | |
branches: [ "*" ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
diff: | |
name: diff | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version-file: 'go.mod' | |
- run: make manifests | |
- 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)" |