Skip to content

Metrics

Metrics #49

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
paths:
- '**.go'
- '**/go.mod'
- '**/go.sum'
pull_request:
branches: [ main ]
paths:
- '**.go'
- '**/go.mod'
- '**/go.sum'
jobs:
lint:
name: Run linter
runs-on: ubuntu-latest
strategy:
matrix:
module: ['print2pdf', 'plain', 'lambda']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
cache-dependency-path: ${{ matrix.module }}/go.sum
go-version-file: ${{ matrix.module }}/go.mod
- name: Linter
uses: golangci/golangci-lint-action@v6
with:
version: latest
working-directory: ${{ matrix.module }}