Skip to content

docs: document the workflow_dispatch recovery path for releases #6

docs: document the workflow_dispatch recovery path for releases

docs: document the workflow_dispatch recovery path for releases #6

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- name: go vet
run: go vet ./...
- name: gofmt
if: runner.os != 'Windows'
shell: bash
run: |
unformatted=$(gofmt -l .)
if [ -n "$unformatted" ]; then
echo "::error::gofmt found unformatted files:"
echo "$unformatted"
exit 1
fi
- name: go build
run: go build ./...
- name: go test
run: go test ./...