Skip to content

#11 Docker Environment #143

#11 Docker Environment

#11 Docker Environment #143

Workflow file for this run

name: Lint
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
permissions:
contents: read
jobs:
golangci:
name: "golangci-lint"
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v5
with:
cache: false
go-version-file: go.mod
check-latest: true
- name: Install Ubuntu dependencies
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt install libpam0g-dev
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60