build: use the same default optical drive for everything #9277
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint | |
on: | |
push: | |
branches: | |
- master | |
- ci | |
- 'release/**' | |
pull_request: | |
branches: [master] | |
jobs: | |
commit-msg: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 50 | |
- name: Lint | |
run: | | |
./ci/lint-commit-msg.py | |
swift: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: norio-nomura/action-swiftlint@3.2.1 | |
lua: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: lunarmodules/luacheck@v1 | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check | |
id: check | |
uses: astral-sh/ruff-action@v3 | |
with: | |
src: ". TOOLS/umpv" | |
- name: Suggested changes | |
if: ${{ failure() && steps.check.outcome == 'failure' }} | |
run: ruff check . TOOLS/umpv --diff | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: python/mypy@master | |
with: | |
install_project_dependencies: no | |
options: '--check-untyped-defs' | |
paths: ". TOOLS/umpv" | |
editorconfig: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: editorconfig-checker/action-editorconfig-checker@main | |
- run: editorconfig-checker -config .editorconfig-checker.json | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pre-commit/action@v3.0.1 |