test is testsuite is executed in CI #137
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: gopath/github.com/katydid/validator-go | |
- name: Checkout testsuite | |
uses: actions/checkout@v4 | |
with: | |
repository: katydid/testsuite | |
path: gopath/github.com/katydid/testsuite | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.23 | |
- name: Fetch dependencies | |
run: | | |
cd gopath/github.com/katydid/validator-go | |
go mod download -x | |
- name: Install tools | |
run: | | |
cd gopath/github.com/katydid/validator-go | |
go install -x github.com/goccmack/gocc | |
go install -x github.com/awalterschulze/goderive | |
go install -x github.com/awalterschulze/checklicense | |
- name: env | |
run: env && go env && pwd | |
- name: tree | |
run: tree | |
- name: Generate | |
run: | | |
cd gopath/github.com/katydid/validator-go | |
PATH=$HOME/bin:$PATH make regenerate | |
- name: Build | |
run: | | |
cd gopath/github.com/katydid/validator-go | |
make build | |
- name: Test | |
run: | | |
cd gopath/github.com/katydid/validator-go | |
make test | |
- name: Vet | |
run: | | |
cd gopath/github.com/katydid/validator-go | |
make vet | |
- name: Checklicencse | |
run: | | |
cd gopath/github.com/katydid/validator-go | |
make checklicense | |
- name: Diff | |
run: | | |
cd gopath/github.com/katydid/validator-go | |
make diff |