Skip to content

*: compile js

*: compile js #373

Workflow file for this run

name: tests
on:
push: {branches: [master]}
pull_request: {branches: [master]}
jobs:
test:
runs-on: ubuntu-20.04
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
go: ["1.21.x", "1.22.x", "1.23.x"]
arch: ["amd64", "386"]
env:
GOARCH: "${{matrix.arch}}"
steps:
- uses: actions/checkout@v2
- uses: WillAbides/[email protected]
with:
go-version: ${{matrix.go}}
- name: build
run: make all
- name: test
run: ./test.sh
staticcheck:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: dominikh/[email protected]
with:
version: "2024.1.1"
install-go: false
code-coverage:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: install goveralls
run: go install github.com/mattn/goveralls@latest
- name: send coverage
env:
COVERALLS_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: ./coverage.sh --coveralls