chore(deps): update actions/upload-artifact action to v7 (#145) #320
This file contains hidden or 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: CI | |
| on: | |
| pull_request: {} | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ci-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint-filenames: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Validating .yaml file extension on all workflow files | |
| run: | | |
| invalid_files=$(find ./.github/workflows -type f ! -name "*.yaml") | |
| if [ -n "$invalid_files" ]; then | |
| echo "::error::The following files do NOT have the .yaml extension:" | |
| echo "$invalid_files" | |
| exit 1 | |
| fi |