Skip to content

Dev

Dev #26

Workflow file for this run

name: pull_request
on:
pull_request:
workflow_dispatch:
jobs:
lint:
defaults:
run:
shell: bash
permissions:
contents: read
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: pre-commit/[email protected]
test:
defaults:
run:
shell: bash
permissions:
contents: read
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- run: go install golang.org/x/lint/golint@latest
- run: golint -set_exit_status ./...
- run: go test ./... -v