typos: allow configPath to be of type string or path + take excludes from .typos.toml
into account when pre-commit run typos --all-files
runs
#1007
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: "Build" | |
on: | |
pull_request: | |
push: | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v22 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: pre-commit-hooks | |
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | |
- run: rm -rf /opt& | |
- run: nix-build --keep-going | |
tests-flakes: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v22 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: pre-commit-hooks | |
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | |
- run: rm -rf /opt& | |
- run: nix flake check -L --show-trace | |
- run: nix eval .#lib.x86_64-linux.run --show-trace |