Skip to content

Add deduplication optimization rule #50

Add deduplication optimization rule

Add deduplication optimization rule #50

Workflow file for this run

# ┌───────────────────────────────────────────────────────────────────────────┐
# │ │
# │ ██████╗ ██████╗ ██████╗ 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]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: "Restore cache"
uses: ./.github/actions/cache
with:
name: build_dev
os: ${{ matrix.os }}
- 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