Skip to content

test

test #96

Workflow file for this run

on:
push:
branches:
- main
- fix-golangci
pull_request:
branches:
- main
name: lint and test
jobs:
golangci:
strategy:
matrix:
go-version:
- "1.20"
- "1.21"
- "1.22"
name: lint and test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Get dependencies
run: go mod tidy
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.59.1
- name: test
run: make test