Skip to content

pinact

pinact #333

Workflow file for this run

name: CI
permissions:
contents: read
on:
push:
branches:
- "**"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: "1.25"
- run: go vet ./...
- run: make up
- name: Check generated codes
run: |
go mod tidy
go run tool/modelgen/main.go
go run tool/rdmegen/main.go
make fmt
git diff --exit-code
- run: make testci
- uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: coverage.out