Skip to content

Add CI using goyek

Add CI using goyek #16

Workflow file for this run

name: ci
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
goyek:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: '1.22'
check-latest: true
- run: ./goyek.sh -v ci
# TODO: Uncomment after making the repository public.
# - uses: codecov/[email protected]
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# fail_ci_if_error: true
# file: ./coverage.out
check-links:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- uses: lycheeverse/[email protected]
with:
fail: true
compatibility-test:
strategy:
matrix:
go-version:
- '1.21'
- '1.22'
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- run: go test -race ./...