fix: use pwsh for zip upload step to expand env vars correctly #56
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: Check GitHub workflow | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/*.yml" | |
| pull_request: | |
| paths: | |
| - ".github/workflows/*.yml" | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Install mise and setup | |
| uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 | |
| with: | |
| install: true | |
| install_args: "actionlint shellcheck github:zizmorcore/zizmor" | |
| cache: true | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Check | |
| run: mise gh-check |