Skip to content

Merge pull request #22 from 3v1n0/prevent-unused-var #75

Merge pull request #22 from 3v1n0/prevent-unused-var

Merge pull request #22 from 3v1n0/prevent-unused-var #75

Workflow file for this run

on: [push, pull_request]
name: Lint
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: Install PAM
run: |
sudo apt-get update
sudo apt-get install -y libpam-dev
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54