Skip to content

WIP Gen

WIP Gen #148

Workflow file for this run

---
name: Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.19', '1.20', '1.21.x']
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
name: Cache unicode
with:
path: DATA
key: ${{ runner.os }}-data-${{ hashFiles('**/*.txt') }}
# Cache richgo and golangci-lint
- uses: actions/cache@v3
name: Cache bin
with:
path: bin
# The Makefile sets the version of richgo and golangci-lint
key: ${{ runner.os }}-bin-${{ hashFiles('**/Makefile') }}
- uses: actions/setup-go@v4
name: Setup Go ${{ matrix.go-version }}
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: make ci
- name: Test Generate
run: make testgenerate
- name: Vet
run: make vet