Skip to content

Refactor!: Optional #37

Refactor!: Optional

Refactor!: Optional #37

Workflow file for this run

name: Go
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.21
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Test
run: go test ./...
- run: mkdir -p ./bin/tools
- name: Build tools
run: go build -o ./bin/tools ./examples/...
- name: Upload tools
uses: actions/upload-artifact@v1
with:
name: tools
path: ./bin/tools