Skip to content

fix(ui): tweak flag tabs to have the same layout #9945

fix(ui): tweak flag tabs to have the same layout

fix(ui): tweak flag tabs to have the same layout #9945

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
env:
GO_VERSION: "1.23"
jobs:
go-lint:
name: "Lint Go"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v6.1.1
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.61.0
args: --timeout=10m
markdown-lint:
name: "Lint Markdown"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v18
with:
config: .markdownlint.yaml
globs: |
**/*.md
!**/test/**/*
ui-lint:
name: "Lint UI"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18"
cache: "npm"
cache-dependency-path: ui/package-lock.json
- name: Lint
run: |
npm ci
npm run lint
working-directory: ui
go-mod-tidy:
name: "Go Mod Tidy"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true
cache: true
- name: Run go mod tidy.
run: go mod tidy
- name: Ensure clean git state.
run: git diff-index --quiet HEAD -- || (echo "Please run 'go mod tidy' and commit changes." && exit 1)