mirror of
https://github.com/hanzoai/gomail.git
synced 2026-10-30 18:35:49 +00:00
This library had one workflow and it was a semantic-release run: it asked for ubuntu-latest, which no runner here advertises, and it drove @semantic-release/github, which speaks to github.com's Releases API. Neither half can complete on this forge, so nothing about the code was ever checked. Replaced with the check that was missing: build, race-detector suite, and vet. Version tags are now cut deliberately rather than derived from commit subjects; the changelog and release notes that semantic-release generated are not reproduced.
24 lines
440 B
YAML
24 lines
440 B
YAML
name: ci
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ci-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: [hanzo-build-linux-amd64]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version-file: go.mod
|
|
cache: true
|
|
- run: go build ./...
|
|
- run: go test ./... -race
|
|
- run: go vet ./...
|