upgrade external dependencies (#655) #93
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 | |
permissions: | |
contents: read | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Start PostgreSQL | |
run: sudo service postgresql start | |
- uses: actions/checkout@v4 | |
- name: Create PostgreSQL user and tables | |
run: | | |
sudo -u postgres psql -c "CREATE USER ${USER}" | |
sudo -u postgres psql -c "CREATE DATABASE lbitests OWNER ${USER}" | |
- uses: cachix/install-nix-action@v25 | |
- run: nix run .#run-tests nolint | |
run-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v25 | |
- run: nix run .#run-tests notest | |
check-vendorsha: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v25 | |
- run: nix run .#update-vendorsha -- ./nix/letsblockit.nix --check |