Skip to content

chore(ci): add build job to workflow #168

chore(ci): add build job to workflow

chore(ci): add build job to workflow #168

Workflow file for this run

---
name: Lint checks
on:
push:
paths:
- '**.sh'
- '**.yaml'
- '**.yml'
- '**.md'
pull_request:
paths:
- '**.sh'
- '**.yaml'
- '**.yml'
- '**.md'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: 1.25
- name: Install linters
run: |
sudo apt-get update
sudo apt-get install -y shellcheck yamllint
npm install -g markdownlint-cli
go install kcl-lang.io/cli/cmd/kcl@latest
- name: Lint shell scripts
run: |
find . -name "*.sh" -exec shellcheck {} +
- name: Lint YAML files
run: |
yamllint .
- name: Lint Markdown files
run: |
markdownlint "**/*.md"
- name: Lint KCL files
run: |
kcl lint configs/
- name: Setup TFLint
uses: terraform-linters/setup-tflint@v6
- name: Lint Terraform manifests
run: |
tflint --chdir liveOS/