Skip to content

Merge pull request #2 from 4thel00z/release-please--branches--master #8

Merge pull request #2 from 4thel00z/release-please--branches--master

Merge pull request #2 from 4thel00z/release-please--branches--master #8

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
permissions:
contents: read
jobs:
test:
name: test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
env:
GOPROXY: https://proxy.golang.org,direct
GOSUMDB: sum.golang.org
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25.x"
cache: true
- name: gofmt
run: |
test -z "$(gofmt -l .)"
- name: go test
run: |
go test ./...
- name: go vet
run: |
go vet ./...
- name: go mod tidy (no diff)
if: matrix.os == 'ubuntu-latest'
run: |
go mod tidy
git diff --exit-code