Skip to content

added passing of regular attibutes #5

added passing of regular attibutes

added passing of regular attibutes #5

Workflow file for this run

name: Rust
on:
push:
branches:
- "master"
pull_request:
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Clippy
run: cargo clippy -- -D warnings
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Install cargo llvm
run: cargo install cargo-llvm-cov
- name: Run tests
run: cargo llvm-cov --codecov --output-path coverage
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}
verbose: true
files: coverage
search: false