Bump indexmap from 2.0.1 to 2.2.6 #54
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: CI | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
lints: | |
name: Lints | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Enable magic Nix cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Cache lint store | |
id: lint-store | |
uses: actions/cache@v3 | |
with: | |
path: ~/.ci-store | |
key: lint-store-${{ hashFiles('**/Cargo.lock', '**/flake.lock') }}-v1 | |
- name: Check rustfmt | |
run: nix develop --store ~/.ci-store --command cargo fmt --check | |
- name: Check nixpkgs-fmt formatting | |
run: nix develop --store ~/.ci-store --command nixpkgs-fmt --check . | |
- name: Check build | |
run: nix develop --store ~/.ci-store --command cargo build | |
- name: Check tests | |
run: nix develop --store ~/.ci-store --command cargo test |