diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-10-19 18:56:52 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-10-19 18:56:52 -0700 |
| commit | d0bd9776e37e778f06e7e5f835bbbf5d16c5ac48 (patch) | |
| tree | ed3ee07f175bfd5e3cf8d190c7372652887b886f /src/x509-info/.github/workflows | |
| download | x-d0bd9776e37e778f06e7e5f835bbbf5d16c5ac48.tar.gz | |
meta: initial commit
Create the initial scaffolding for a rust project, using `cargo` and a
nix template.
Diffstat (limited to 'src/x509-info/.github/workflows')
| -rw-r--r-- | src/x509-info/.github/workflows/build.yml | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/src/x509-info/.github/workflows/build.yml b/src/x509-info/.github/workflows/build.yml new file mode 100644 index 0000000..68deda2 --- /dev/null +++ b/src/x509-info/.github/workflows/build.yml @@ -0,0 +1,73 @@ +name: gh-ssh-keys CI + +on: + push: + +jobs: + check: + name: Check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - uses: actions-rs/cargo@v1 + with: + command: check + - uses: actions-rs/cargo@v1 + with: + command: check + args: --no-default-features + + test: + name: Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - uses: actions-rs/cargo@v1 + with: + command: test + - uses: actions-rs/cargo@v1 + with: + command: test + args: --no-default-features + + fmt: + name: Rustfmt + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - run: rustup component add rustfmt + - uses: actions-rs/cargo@v1 + with: + command: fmt + args: --all -- --check + + clippy: + name: Clippy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - run: rustup component add clippy + - uses: actions-rs/cargo@v1 + with: + command: clippy + args: -- -D warnings |
