Skip to content

chore(deps): update devdependencies #2640

chore(deps): update devdependencies

chore(deps): update devdependencies #2640

Workflow file for this run

# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial
name: Lint
on:
pull_request:
branches: [main]
types: [milestoned, opened, edited, synchronize]
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Setup Environment (Go, Node, Homebrew, UDS CLI, k3d)
uses: ./.github/actions/setup
- name: Install goimports
run: go install golang.org/x/tools/cmd/goimports@latest
- name: Install golangci-lint
run: uds run setup:golangci
- name: Check Swagger Docs
run: uds run swagger:test
# build ui so ui/build exists when pre-commit runs
- name: build-ui
run: uds run build:ui
- name: Run pre-commit
uses: pre-commit/action@576ff52938d158a24ac7e009dfa94b1455e7df99 #
with:
extra_args: --all-files --verbose # pre-commit run --all-files --verbose
- name: Lint Yaml
run: uds run lint:yaml
- name: Lint UI
run: uds run lint:ui