Skip to content

fix: linters version #3

fix: linters version

fix: linters version #3

Workflow file for this run

name: "test & lint"
on:
- push
- pull_request
env:
GO111MODULE: "on"
jobs:
lint:
name: Linters
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ~1.22
- name: Check out code
uses: actions/checkout@v3
- name: Linters
uses: golangci/golangci-lint-action@v6
with:
version: v1.50.1
working-directory: ./procima
tests:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ^1.19
- name: Check out code
uses: actions/checkout@v3
- name: Unit tests
run: go test -v -count=1 -race -timeout=1m ./...
working-directory: ./procima