Skip to content

Add linting

Add linting #75

Workflow file for this run

name: CI
on:
push:
tags:
- v*
branches: main
pull_request:
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19'
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with: {version: v1.49}
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19'
cache: true
- run: script/test