Add legacy support via plugin #246
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: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18 | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Bootstrap | |
run: | | |
go version | |
corepack enable | |
- name: Vendor | |
run: | | |
make vendor | |
yarn config set network-timeout 120000 -g | |
make -C identifier vendor | |
- name: Lint | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: latest | |
args: --timeout=2m | |
skip-pkg-cache: true | |
skip-build-cache: true | |
skip-go-installation: true | |
only-new-issues: true | |
- name: Build | |
run: | | |
make DATE=reproducible | |
./bin/licod version && sha256sum ./bin/licod | |
- name: Test | |
run: make test | |
- name: Dist | |
run: | | |
test -z "$(git diff --shortstat 2>/dev/null |tail -n1)" && echo "Clean check passed." | |
make check | |
make dist |