parley: Various cleanups and fixes #5820
Workflow file for this run
This file contains hidden or 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
# Copyright © SixtyFPS GmbH <[email protected]> | |
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0 | |
name: autofix.ci # needed to securely identify the workflow | |
on: | |
pull_request: | |
branches: [master, "feature/*"] | |
push: | |
branches: [master, "feature/*"] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }} | |
cancel-in-progress: true | |
env: | |
CARGO_INCREMENTAL: false | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
format_fix: | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v5 | |
- uses: jdx/mise-action@v3 | |
with: | |
version: 2025.9.18 | |
log_level: debug | |
- name: Install rust dependencies | |
run: rustup toolchain install stable-x86_64-unknown-linux-gnu --profile default | |
- name: Run fixes | |
run: mise run --force --jobs=1 'ci:autofix:fix' | |
- name: Suggest format changes | |
uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 | |
lint_typecheck: | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v5 | |
- uses: jdx/mise-action@v3 | |
with: | |
version: 2025.9.18 | |
log_level: debug | |
- name: Install rust dependencies | |
run: rustup toolchain install stable-x86_64-unknown-linux-gnu --profile default | |
- name: Run lints | |
run: mise run --force --jobs=1 'ci:autofix:lint' |