Skip to content

Merge pull request #265 from dzervas/renovate/serde-1.x #651

Merge pull request #265 from dzervas/renovate/serde-1.x

Merge pull request #265 from dzervas/renovate/serde-1.x #651

Workflow file for this run

---
name: test
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Test project
run: cargo test -v
- name: Install Tarpaulin
uses: actions-rs/[email protected]
if: github.ref == 'refs/heads/main'
with:
crate: cargo-tarpaulin
use-tool-cache: true
- name: Generate coverage report
if: github.ref == 'refs/heads/main'
run: cargo tarpaulin -v --coveralls ${{ secrets.COVERALLS_TOKEN }}