Blacksmith Testbox #64
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: Blacksmith Testbox | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| testbox_id: | |
| type: string | |
| description: "Testbox session ID" | |
| required: true | |
| permissions: | |
| contents: read | |
| env: | |
| GOFLAGS: -mod=readonly -trimpath | |
| GOTOOLCHAIN: local | |
| jobs: | |
| go: | |
| name: Go | |
| runs-on: blacksmith-2vcpu-ubuntu-2404 | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Begin Testbox | |
| # v2 | |
| uses: useblacksmith/begin-testbox@233448af4bfdc6fca509a7f0974411ac6d8a8043 | |
| with: | |
| testbox_id: ${{ inputs.testbox_id }} | |
| - name: Check out | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Set up Go | |
| # v6 | |
| uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0 | |
| with: | |
| go-version-file: go.mod | |
| cache: false | |
| - name: Run Testbox | |
| # v2 | |
| uses: useblacksmith/run-testbox@5ca05834db1d3813554d1dd109e5f2087a8d7cbc | |
| if: always() |