Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add base ci workflow #1

Add base ci workflow

Add base ci workflow #1

Workflow file for this run

name: CI
on:
pull_request:
branches:
- '*'
push:
branches:
- master
defaults:
run:
shell: bash
jobs:
check-workflow:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download actionlint
id: actionlint
run:
bash <(curl
https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
- name: Check workflow
run: ${{ steps.actionlint.outputs.executable }} -color
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python 3.12
run: uv python install 3.12
- name: Check python scripts
run: |
uv run ruff check .
uv run ruff format --check .
- name: Check bash scripts
run: shellcheck bin/*