chore(deps): bump divan from 0.1.15 to 0.1.16 #581
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" | |
# Should be run every time | |
on: | |
workflow_dispatch: # allows manual triggering | |
pull_request: | |
branches: [ release, development ] | |
push: | |
branches: [ release, development ] | |
merge_group: | |
jobs: | |
editor-config: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v30 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
fetch-depth: 0 | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: kenji | |
# If you chose API tokens for write access OR if you have a private cache | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- uses: DeterminateSystems/magic-nix-cache-action@v8 | |
with: | |
diagnostic-endpoint: "" | |
- name: "install editorconfig-checker" | |
run: nix develop .#editorConfigShell | |
- name: Checking EditorConfig | |
run: | | |
cat "$HOME/changed_files" | xargs -r editorconfig-checker -disable-indent-size | |
- if: ${{ failure() }} | |
run: | | |
printf "::error :: Hey! It looks like your changes don't follow our editorconfig settings.\nRead https://editorconfig.org/#download to configure your editor so you never see this error again." | |
lychee: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v30 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
fetch-depth: 0 | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: kenji | |
# If you chose API tokens for write access OR if you have a private cache | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- uses: DeterminateSystems/magic-nix-cache-action@v8 | |
with: | |
diagnostic-endpoint: "" | |
- name: "lychee" | |
run: nix develop .#lintShell --command lychee -- *.md |