Skip to content

Commit

Permalink
ci: 🤖 Fix quote in yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
frack113 committed Feb 25, 2025
1 parent f3d1fb1 commit f7f3524
Show file tree
Hide file tree
Showing 2 changed files with 155 additions and 155 deletions.
122 changes: 61 additions & 61 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
---
# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team
#
# SPDX-License-Identifier: CC0-1.0
name: Check formatting of the project
on: [push, pull_request]
jobs:
yamlfix:
name: Check YAML formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
python-version: '3.12'
enable-cache: true
- name: Create requirements file for setup-python
run: touch ./requirements.txt
- name: Install yamlfix
run: uv pip install yamlfix
- name: Check YAML formatting
run: yamlfix -v --check .
mdformat:
name: Check Markdown formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
python-version: '3.12'
enable-cache: true
- name: Install Mdformat
run: uv pip install mdformat
- name: Check Markdown formatting
run: mdformat --check .
rustfmt:
name: Check Rust formatting
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install rustfmt
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: Check Rust formatting
run: cargo fmt -v --all -- --check
taplo:
name: Check TOML formatting
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install taplo
uses: uncenter/setup-taplo@v1
- name: Check TOML formatting
run: taplo format --check --verbose
---
# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team
#
# SPDX-License-Identifier: CC0-1.0
name: Check formatting of the project
on: [push, pull_request]
jobs:
yamlfix:
name: Check YAML formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
python-version: '3.12'
enable-cache: true
- name: Create requirements file for setup-python
run: touch ./requirements.txt
- name: Install yamlfix
run: uv pip install yamlfix
- name: Check YAML formatting
run: yamlfix -v --check .
mdformat:
name: Check Markdown formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
python-version: '3.12'
enable-cache: true
- name: Install Mdformat
run: uv pip install mdformat
- name: Check Markdown formatting
run: mdformat --check .
rustfmt:
name: Check Rust formatting
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install rustfmt
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: Check Rust formatting
run: cargo fmt -v --all -- --check
taplo:
name: Check TOML formatting
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install taplo
uses: uncenter/setup-taplo@v1
- name: Check TOML formatting
run: taplo format --check --verbose
188 changes: 94 additions & 94 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,94 +1,94 @@
---
# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team
# yamllint disable-line
# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
#
# SPDX-License-Identifier: CC0-1.0
name: Lint the project
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
yamllint:
name: Lint with yamllint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
python-version: '3.12'
enable-cache: true
- name: Install yamllint
run: uv pip install yamllint
- name: Check YAML formatting
run: yamllint -s .
reuse:
name: Lint with REUSE
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Lint licenses
uses: fsfe/reuse-action@v5
markdownlint-cli2:
name: Lint with markdownlint-cli2
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Lint Markdown code
uses: DavidAnson/markdownlint-cli2-action@v19
clippy:
name: Lint with Clippy
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Clippy
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Add caching
uses: Swatinem/rust-cache@v2
- name: Lint Rust code
run: |-
cargo clippy `
--workspace `
--all-targets `
--all-features `
-- -D warnings
cargo-deny:
name: Lint with cargo-deny
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Lint Rust code
uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check bans licenses sources
cargo-outdated:
name: Lint with cargo-outdated
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Add caching
uses: Swatinem/rust-cache@v2
- name: Install cargo-outdated
run: cargo install --locked cargo-outdated
- name: Lint Rust code
run: cargo outdated -v --exit-code 1 -R -w
taplo:
name: Lint with taplo
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install taplo
uses: uncenter/setup-taplo@v1
- name: Lint TOML code
run: taplo lint --verbose **.toml
---
# SPDX-FileCopyrightText: 2023 The MalwareTracesGenerator development team
# yamllint disable-line
# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
#
# SPDX-License-Identifier: CC0-1.0
name: Lint the project
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
yamllint:
name: Lint with yamllint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
python-version: '3.12'
enable-cache: true
- name: Install yamllint
run: uv pip install yamllint
- name: Check YAML formatting
run: yamllint -s .
reuse:
name: Lint with REUSE
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Lint licenses
uses: fsfe/reuse-action@v5
markdownlint-cli2:
name: Lint with markdownlint-cli2
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Lint Markdown code
uses: DavidAnson/markdownlint-cli2-action@v19
clippy:
name: Lint with Clippy
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Clippy
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Add caching
uses: Swatinem/rust-cache@v2
- name: Lint Rust code
run: |-
cargo clippy `
--workspace `
--all-targets `
--all-features `
-- -D warnings
cargo-deny:
name: Lint with cargo-deny
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Lint Rust code
uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check bans licenses sources
cargo-outdated:
name: Lint with cargo-outdated
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Add caching
uses: Swatinem/rust-cache@v2
- name: Install cargo-outdated
run: cargo install --locked cargo-outdated
- name: Lint Rust code
run: cargo outdated -v --exit-code 1 -R -w
taplo:
name: Lint with taplo
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install taplo
uses: uncenter/setup-taplo@v1
- name: Lint TOML code
run: taplo lint --verbose **.toml

0 comments on commit f7f3524

Please sign in to comment.