Add support for multiple certificates in ocsp response, add ecdsa-sha256 #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: master | |
on: | |
push: | |
branches: [ master, action ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ${{matrix.os}} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Lint | |
run: cargo clippy -- -D warnings | |
continue-on-error: true | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Generate coverage file | |
if: matrix.os == 'ubuntu-latest' | |
&& github.ref == 'refs/heads/master' | |
run: | | |
cargo install cargo-tarpaulin | |
cargo tarpaulin --out Xml --verbose | |
- name: Upload to Codecov | |
if: matrix.os == 'ubuntu-latest' | |
&& github.ref == 'refs/heads/master' | |
uses: codecov/[email protected] | |
with: | |
file: cobertura.xml | |