Skip to content

chore(ci): fix docker compose #739

chore(ci): fix docker compose

chore(ci): fix docker compose #739

Workflow file for this run

name: Lint
on:
push:
paths:
- '**/*.go'
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
env:
GOFLAGS: -mod=readonly
strategy:
max-parallel: 6
fail-fast: false
matrix:
directory: [ "client", "server", "e2e" ]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: ${{ matrix.directory }}/go.mod
- name: Install linter
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.0
- name: Lint
working-directory: ${{ matrix.directory }}
run: make lint