Skip to content

lab3-4

lab3-4 #1040

Workflow file for this run

name: golangci-lint
on: [push, pull_request]
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.17
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.50.1
working-directory: golang
args: -v --print-resources-usage --timeout=180s --config=.golangci.yml
- name: Test
run: |
cd golang
go test -count=1 -p 1 -v ./...