mugit/.github/workflows/ci.yml(view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
name: ci
on:
workflow_dispatch:
push:
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: go.mod
- name: Build
run: go build .
- name: Tests
run: go test -v -race ./...
|