feat: v0 draft #9
Workflow file for this run
This file contains 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: Build Test | |
on: | |
pull_request: | |
paths: | |
- "**.go" | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Test Builds | |
strategy: | |
matrix: | |
go-version: [1.22.x] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Go Mod hygine | |
run: | | |
go clean -modcache | |
go mod tidy | |
- name: Build | |
run: make build | |
- name: Test | |
run: make test |