Pin GitHub Actions #49
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: shellspec | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| # Allow this workflow to be executed manually from the Actions tab: | |
| workflow_dispatch: | |
| jobs: | |
| shellspec: | |
| name: shellspec | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 | |
| - name: install shellspec | |
| run: curl -fsSL https://git.io/shellspec | sh -s -- --yes | |
| - name: run shellspec using bash | |
| run: bash shellspec --pattern '*.spec' spec |