Skip to content

DEV: partially bake in env #53

DEV: partially bake in env

DEV: partially bake in env #53

Workflow file for this run

name: launcher_go
on:
push:
branches:
- main
paths:
- "launcher_go/**"
- ".github/workflows/launcher_go.yml"
pull_request:
paths:
- "launcher_go/**"
- ".github/workflows/launcher_go.yml"
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ">=1.22.0"
- name: Run gofmt
working-directory: ./launcher_go/v2
run: |
if [ "$(gofmt -l . | wc -l)" -gt 0 ]; then
exit 1
fi
test:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ">=1.22.0"
- name: Run tests
working-directory: ./launcher_go/v2
run: go test ./...