Skip to content

ci: added workflows

ci: added workflows #2

Workflow file for this run

# This workflow run linters.
# It is supposed to be run on each push to main branch, as well as for each.
name: linters
on:
push:
branches: [ main ]
pull_request:
branches: [ '*' ]
permissions:
contents: read
jobs:
golangci-lint:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false
- uses: golangci/golangci-lint-action@v3
with:
version: v1.53
skip-cache: true