forked from lix-project/lix-installer
Compress some runner jobs
This commit is contained in:
parent
0771130b9c
commit
5ee1389eca
39
.github/workflows/ci.yml
vendored
39
.github/workflows/ci.yml
vendored
|
@ -16,52 +16,13 @@ jobs:
|
|||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Check rustfmt
|
||||
run: nix develop --command ci-check-rustfmt
|
||||
|
||||
Spelling:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v17
|
||||
with:
|
||||
extra_nix_config: |
|
||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Check Spelling
|
||||
run: nix develop --command ci-check-spelling
|
||||
|
||||
NixFormatting:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v17
|
||||
with:
|
||||
extra_nix_config: |
|
||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Check nixpkgs-fmt formatting
|
||||
run: nix develop --command ci-check-nixpkgs-fmt
|
||||
|
||||
EditorConfig:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v17
|
||||
with:
|
||||
extra_nix_config: |
|
||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Check EditorConfig conformance
|
||||
run: nix develop --command ci-check-editorconfig
|
||||
|
||||
Test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v17
|
||||
with:
|
||||
extra_nix_config: |
|
||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Run tests
|
||||
run: nix develop --command ci-test-rust
|
||||
# run: nix develop -c -- cargo test -- --include-ignored
|
||||
|
||||
BuildX86Linux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue