mirror of
https://github.com/DeterminateSystems/flake-checker.git
synced 2024-09-11 14:25:44 +03:00
Remove redundant build job
This commit is contained in:
parent
98870e348e
commit
24e7af543e
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user