1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-11-15 06:36:44 +01:00

chore(ci): normalize lint workflow matrix

This commit is contained in:
Henrik Hautakoski 2026-08-28 13:44:29 +02:00
parent 7bb3aba097
commit b9a77b45a7

View file

@ -12,19 +12,21 @@ jobs:
strategy:
fail-fast: false
matrix:
module: [".", "api"]
module:
- ["main", "."]
- ["api", "api"]
runs-on: ubuntu-latest
name: golangci-lint (${{ matrix.module }})
name: golangci-lint (${{ matrix.module[0] }})
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: ${{ matrix.module }}/go.mod
go-version-file: ${{ matrix.module[1] }}/go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.12
working-directory: ${{ matrix.module }}
working-directory: ${{ matrix.module[1] }}