This repository has been archived by the owner on Jul 26, 2024. It is now read-only.
Build(deps): bump prost from 0.12.4 to 0.13.1 #89
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: Run tests | |
on: pull_request | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v25 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- run: nix run .#fmt | |
- run: nix run .#lint | |
- name: Check mdbook-admonish changes are not committed | |
run: | | |
if grep -q "do not edit: managed by \`mdbook-admonish install\`" docs/book.toml; then | |
echo "remove generated mdbook-admonish lines from docs/books.toml" >&2 | |
exit 1 | |
fi | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v25 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- run: nix run .#test | |
integration-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v25 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- run: nix flake check |