chore(deps): pin actions/setup-go action to 7b8cf10 #29
Workflow file for this run
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: | |
| # Enables running the workflow manually from the Actions tab | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - v* | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Deno | |
| uses: denoland/setup-deno@909cc5acb0fdd60627fb858598759246509fa755 # v2.0.2 | |
| with: | |
| deno-version: v2.x | |
| - name: Check Formatting | |
| run: deno task fmt | |
| - name: Check Linting | |
| run: deno task lint | |
| - name: Build | |
| run: deno task build | |
| - name: Install Go | |
| uses: actions/setup-go@7b8cf10d4e4a01d4992d18a89f4d7dc5a3e6d6f4 # v4 | |
| with: | |
| go-version: 1.22.x | |
| cache: false | |
| - name: Install k6 | |
| run: go install go.k6.io/k6@latest | |
| - name: Build the docker-compose stack | |
| uses: hoverkraft-tech/compose-action@089c512a98f77a69316682d52c4fd8d71a97d0bf | |
| with: | |
| up-flags: '-d' | |
| down-flags: '-v' | |
| - name: Wait for the localstack scripts to have been applied | |
| run: sleep 30 | |
| - name: Test | |
| run: deno task test:ci |