Skip to content

Merge pull request #8 from chialab/dependabot/go_modules/print2pdf/aw… #28

Merge pull request #8 from chialab/dependabot/go_modules/print2pdf/aw…

Merge pull request #8 from chialab/dependabot/go_modules/print2pdf/aw… #28

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 }}