Skip to content

✨ Design docs start page #945

✨ Design docs start page

✨ Design docs start page #945

Workflow file for this run

name: Lint CI
on:
push:
branches:
- main
- gh-readonly-queue/main/*
pull_request:
branches:
- main
jobs:
lint:
name: lint
runs-on: ubuntu-22.04
strategy:
matrix:
go: ["1.21"]
node: ["18"]
steps:
- name: Checkout branch
uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Setup golang
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "yarn"
cache-dependency-path: "web/yarn.lock"
- name: Build web
run: |
cd web
yarn install --frozen-lockfile
yarn build
cd ..
make build
- name: Setup golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2
args: --deadline=10m --verbose
- name: Lint Dockerfile
uses: hadolint/[email protected]
with:
dockerfile: ./build/Dockerfile
ignore: DL3018,DL3003
- name: Lint Dockerfile
uses: hadolint/[email protected]
with:
dockerfile: ./build/Dockerfile.local
ignore: DL3018,DL3003