chore(deps): bump indexmap from 2.6.0 to 2.7.0 #316
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
# SPDX-FileCopyrightText: 2024 Ryan Cao <hello@ryanccn.dev> | |
# | |
# SPDX-License-Identifier: AGPL-3.0-only | |
name: Check | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
clippy: | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Setup Nix cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Check | |
run: nix build --fallback --print-build-logs '.#checks.x86_64-linux.clippy' | |
- name: Upload analysis results | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: result | |
wait-for-processing: true | |
rustfmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Setup Nix cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Check | |
run: nix build --fallback --print-build-logs '.#checks.x86_64-linux.rustfmt' | |
nixfmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Setup Nix cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Check | |
run: nix build --fallback --print-build-logs '.#checks.x86_64-linux.nixfmt' | |
reuse: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Setup Nix cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Check | |
run: nix build --fallback --print-build-logs '.#checks.x86_64-linux.reuse' |