diff options
| author | fcuny <franck@fcuny.net> | 2022-11-06 11:33:15 -0800 |
|---|---|---|
| committer | fcuny <franck@fcuny.net> | 2022-11-06 11:33:15 -0800 |
| commit | 717bf1b84dd8ae53a03631a73e167c1c1ca57ab4 (patch) | |
| tree | 991ee4670a5c951a3cfc8ebe88afe6075eaec288 /src/x509-info/.drone.yml | |
| parent | Merge pull request #5 from fcuny/fcuny/crane (diff) | |
| parent | ci: switch from GitHub action to drone (diff) | |
| download | x-717bf1b84dd8ae53a03631a73e167c1c1ca57ab4.tar.gz | |
Merge pull request 'ci: switch from GitHub action to drone' (#1) from fcuny/drone-ci into main
Reviewed-on: https://git.fcuny.net/fcuny/x509-info/pulls/1
Diffstat (limited to 'src/x509-info/.drone.yml')
| -rw-r--r-- | src/x509-info/.drone.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/x509-info/.drone.yml b/src/x509-info/.drone.yml new file mode 100644 index 0000000..0816988 --- /dev/null +++ b/src/x509-info/.drone.yml @@ -0,0 +1,35 @@ +kind: pipeline +type: docker +name: checks + +trigger: + event: + - push + - pull_request + - cron + +steps: + - name: Run checks + image: nixpkgs/nix-flakes:nixos-22.05 + commands: + - nix develop --command cargo fmt --check + - nix develop --command cargo-deny check + - nix develop --command cargo clippy -- -D warnings +--- +kind: pipeline +type: docker +name: build + +trigger: + event: + - push + - pull_request + - cron + +steps: + - name: Run tests and build + image: nixpkgs/nix-flakes:nixos-22.05 + commands: + - nix develop --command cargo test + - nix build . + - nix run . -- fcuny.net |
