Bump the github-actions group across 1 directory with 8 updates #379
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: acceptance | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| acceptance: | |
| name: acceptance | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - name: fetch crystal version | |
| id: crystal-version | |
| run: echo "crystal=$(cat .crystal-version)" >> $GITHUB_OUTPUT | |
| - name: install crystal | |
| uses: crystal-lang/install-crystal@5503f15cfd350dfc402f9c2f0fa31bdf83fd7384 # [email protected] | |
| with: | |
| crystal: ${{ steps.crystal-version.outputs.crystal }} | |
| - name: bootstrap | |
| run: script/bootstrap --ci | |
| - name: set directory permissions (for ci) | |
| run: | | |
| chmod -R 777 ./acceptance | |
| chmod 700 ./acceptance/ssh_server/keys | |
| chmod 600 ./acceptance/ssh_server/keys/private/id_rsa | |
| chmod 600 ./acceptance/ssh_server/keys/public/id_rsa.pub | |
| - name: acceptance | |
| env: | |
| LOG_LEVEL: DEBUG | |
| CRYSTAL_ENV: development | |
| run: script/acceptance |