use pinned QP version instead of latest tag with sha256 (#313) #362
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: Environment Variables Test Workflow | |
| on: [push] | |
| jobs: | |
| basic_k6_test: | |
| name: k6 test run - environment variable example | |
| runs-on: ubuntu-latest | |
| services: | |
| quickpizza: | |
| image: ghcr.io/grafana/quickpizza-local:0.15.11 # zizmor: ignore[unpinned-images] | |
| ports: | |
| - 3355:3333 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4 | |
| - name: Setup k6 | |
| uses: grafana/setup-k6-action@ffe7d7290dfa715e48c2ccc924d068444c94bde2 # v1 | |
| - name: Run k6 test | |
| uses: grafana/run-k6-action@a15e2072ede004e8d46141e33d7f7dad8ad08d9d # v1 | |
| env: | |
| BASE_URL: "http://localhost:3355" | |
| with: | |
| path: | | |
| ./k6/foundations/01.basic.js |