Skip to content

Add linter (#9)

Add linter (#9) #23

Workflow file for this run

name: tests
on:
push:
branches:
- 'main'
pull_request:
jobs:
build:
name: Running test
runs-on: ubuntu-latest
container: golang:latest
steps:
- uses: actions/[email protected]
- name: Get dependencies
run: go get -v -t -d ./...
- name: Run tests
run: go test ./...
golanci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.19'
cache: false
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3