aboutsummaryrefslogtreecommitdiff
path: root/src/x509-info/.github/workflows/build.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/x509-info/.github/workflows/build.yml')
-rw-r--r--src/x509-info/.github/workflows/build.yml49
1 files changed, 0 insertions, 49 deletions
diff --git a/src/x509-info/.github/workflows/build.yml b/src/x509-info/.github/workflows/build.yml
deleted file mode 100644
index 0d3d439..0000000
--- a/src/x509-info/.github/workflows/build.yml
+++ /dev/null
@@ -1,49 +0,0 @@
-name: x509-info CI
-
-on:
- push:
-
-jobs:
- check:
- name: Check
- runs-on: ubuntu-latest
- steps:
- - name: git checkout
- uses: actions/checkout@v3
- - name: install nix
- uses: cachix/install-nix-action@v17
- # This is a workaround for https://github.com/oxalica/rust-overlay/issues/54,
- # avoiding link errors when running cargo commands with `nix develop`.
- - name: Remove existing binaries from ~/.cargo/bin
- run: rm --recursive --force --verbose ~/.cargo/bin
- - name: check rust formatting
- run: nix develop --command cargo fmt --check
- - name: audit rust code
- run: nix develop --command cargo-deny check
- - name: clippy
- run: nix develop --command cargo clippy -- -D warnings
-
- test_and_build:
- name: Test and build
- runs-on: ubuntu-latest
- steps:
- - name: git checkout
- uses: actions/checkout@v3
- - name: install nix
- uses: cachix/install-nix-action@v17
- - name: Set up Rust cache
- uses: actions/cache@v3
- with:
- path: |
- ~/.cargo/bin/
- ~/.cargo/registry/index/
- ~/.cargo/registry/cache/
- ~/.cargo/git/db/
- target/
- key: x509-info-app-${{ hashFiles('**/Cargo.lock') }}
- - name: test
- run: nix develop --command cargo test
- - name: build
- run: nix build .
- - name: validate
- run: nix run . -- fcuny.net