upgrade continuous integration #1

merged
opened by tjh.dev targeting main from push-vpowoozkpwqn

Signed-off-by: tjh did:plc:65gha4t3avpfpzmvpbwovss7

Changed files
+40 -38
.github
.tangled
-38
.github/workflows/continuous-integration.yaml
···
-
name: Continuous Integration
-
on:
-
- push
-
- pull_request
-
-
jobs:
-
unit-tests:
-
runs-on: ubuntu-latest
-
steps:
-
- uses: actions/checkout@v4
-
- name: Run unit tests
-
run: cargo test --all-targets --all-features
-
-
clippy-check:
-
runs-on: ubuntu-latest
-
env:
-
RUSTFLAGS: "-Dwarnings"
-
steps:
-
- uses: actions/checkout@v4
-
- name: Run Clippy
-
run: cargo clippy --all-targets --all-features
-
-
cargo-deny:
-
runs-on: ubuntu-latest
-
strategy:
-
matrix:
-
checks:
-
- advisories
-
- bans licenses sources
-
-
# Prevent sudden announcement of a new advisory from failing ci:
-
continue-on-error: ${{ matrix.checks == 'advisories' }}
-
-
steps:
-
- uses: actions/checkout@v4
-
- uses: EmbarkStudios/cargo-deny-action@v2
-
with:
-
command: check ${{ matrix.checks }}
+21
.tangled/workflows/clippy.yaml
···
+
when:
+
- event:
+
- push
+
- pull_request
+
- manual
+
branch:
+
- main
+
- push-vpowoozkpwqn
+
+
engine: nixery
+
+
dependencies:
+
nixpkgs:
+
- cargo
+
+
steps:
+
- name: run clippy
+
environment:
+
RUSTFLAGS: "-Dwarnings"
+
command: |
+
cargo clippy --all-targets --all-features
+19
.tangled/workflows/unit-tests.yaml
···
+
when:
+
- event:
+
- push
+
- pull_request
+
- manual
+
branch:
+
- main
+
- push-vpowoozkpwqn
+
+
engine: nixery
+
+
dependencies:
+
nixpkgs:
+
- cargo
+
+
steps:
+
- name: run unit tests
+
command: |
+
cargo test --all-targets --all-features