Skip to content

version bump to 0.5.0, acknowledgment for orukusaki #19

version bump to 0.5.0, acknowledgment for orukusaki

version bump to 0.5.0, acknowledgment for orukusaki #19

Workflow file for this run

name: Continuous integration
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Release build std
uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Nightly with clippy
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
- name: Annotate commit with clippy warnings std
uses: actions-rs/clippy-check@v1
with:
toolchain: nightly
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- name: Annotate commit with clippy warnings no_std
uses: actions-rs/clippy-check@v1
with:
toolchain: nightly
token: ${{ secrets.GITHUB_TOKEN }}
args: --no-default-features
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Documentation build
uses: actions-rs/cargo@v1
with:
command: doc
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run cargo-tarpaulin
uses: actions-rs/[email protected]
with:
version: '0.15.0'
args: '-- --test-threads 1'
#- name: Upload to codecov.io
#uses: codecov/[email protected]
#with:
#token: ${{secrets.CODECOV_TOKEN}}
#- name: Archive code coverage results
#uses: actions/upload-artifact@v1
#with:
#name: code-coverage-report
#path: cobertura.xml
security-audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- name: Security audit
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}