Skip to content

chore(deps): bump the cargo-workspace group with 3 updates (#149) #310

chore(deps): bump the cargo-workspace group with 3 updates (#149)

chore(deps): bump the cargo-workspace group with 3 updates (#149) #310

Workflow file for this run

name: CI - Lint
on:
push:
branches: [main]
paths:
- '.github/workflows/*.yml'
- 'docker/docker-compose.yml'
- '.pre-commit-config.yaml'
- '.github/workflows/ci-lint.yml'
- '**/Dockerfile*'
- '.devcontainer/devcontainer.json'
pull_request:
branches: [main]
paths:
- '.github/workflows/*.yml'
- 'docker/docker-compose.yml'
- '.pre-commit-config.yaml'
- '.github/workflows/ci-lint.yml'
- '**/Dockerfile*'
- '.devcontainer/devcontainer.json'
workflow_dispatch:
jobs:
# Validate GitHub Actions workflows and YAML files
validate-yaml:
name: Validate YAML & Workflows
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install yamllint
run: pip install --no-cache-dir yamllint
- name: Validate YAML files
run: |
yamllint -d "{extends: relaxed, rules: {line-length: {max: 200}}}" \
.github/workflows/*.yml \
docker/docker-compose.yml \
.pre-commit-config.yaml
- name: Install actionlint
run: |
bash <(curl -s https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
sudo mv actionlint /usr/local/bin/
- name: Validate GitHub Actions workflows
run: actionlint
- name: Check Dockerfile best practices
run: python scripts/hooks/check-dockerfile.py