Merge pull request #17 from ProspectiveCo/dedupe-xtreme #53
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
# ┌───────────────────────────────────────────────────────────────────────────┐ | |
# │ │ | |
# │ ██████╗ ██████╗ ██████╗ Copyright (C) 2022, The Prospective Company │ | |
# │ ██╔══██╗██╔══██╗██╔═══██╗ │ | |
# │ ██████╔╝██████╔╝██║ ██║ This file is part of the Procss library, │ | |
# │ ██╔═══╝ ██╔══██╗██║ ██║ distributed under the terms of the │ | |
# │ ██║ ██║ ██║╚██████╔╝ Apache License 2.0. The full license can │ | |
# │ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ be found in the LICENSE file. │ | |
# │ │ | |
# └───────────────────────────────────────────────────────────────────────────┘ | |
name: CI | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["*"] | |
workflow_dispatch: {} | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
rust: [nightly-2023-10-12] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Restore cache" | |
uses: ./.github/actions/cache | |
with: | |
name: build_dev | |
os: ${{ matrix.os }} | |
rust: ${{ matrix.rust }} | |
- name: Lint | |
run: cargo clippy | |
- name: Build | |
run: cargo xbuild | |
- name: Test | |
run: cargo xtest --coverage | |
- name: Upload coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
files: ./target/coverage/lcov/lcov.info |