Skip to content

DEV: export default base image (#868) #49

DEV: export default base image (#868)

DEV: export default base image (#868) #49

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 ./...