Remove redundant build job

This commit is contained in:
Luc Perkins 2023-05-25 18:03:01 +02:00
parent 98870e348e
commit 24e7af543e
No known key found for this signature in database
GPG Key ID: 4F102D0C16E232F2

View File

@ -6,36 +6,17 @@ on:
branches: [main]
jobs:
build-and-test:
name: Build and test
strategy:
matrix:
os: [ubuntu-22.04, macos-13]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v2
- name: cargo test
run:
nix develop -c cargo test
- name: cargo build
run:
nix develop -c cargo build
- name: nix build
run:
nix build
check-flake-dirty:
name: Check flake.lock test (dirty 😈)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v2
uses: DeterminateSystems/nix-installer-action-cache@main
- name: Check flake.lock
run: |
nix develop -c cargo run -- ./flake.dirty.lock
check-flake-clean:
name: Check flake.lock test (clean 👼)
runs-on: ubuntu-22.04