diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 485d955..090bb7c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -6,45 +6,22 @@ on: pull_request: branches: [ develop ] -env: - CARGO_TERM_COLOR: always - jobs: build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - submodules: true - - name: Build - run: cargo build --verbose - - clippy: runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - submodules: true - - name: Clippy - uses: actions-rs/clippy-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --all-features - - test: - runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 - with: - submodules: true - - - name: Test & Coverage Reporting - uses: actions-rs/tarpaulin@v0.1 - - - name: Upload to codecov.io - uses: codecov/codecov-action@v3.1.1 \ No newline at end of file + - name: Checkout + uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose + - name: Install Clippy + run: rustup component add clippy + - name: Clippy + uses: actions-rs/clippy-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + args: --all-features diff --git a/Cargo.toml b/Cargo.toml index 3ef6c8e..2139ff5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,10 +8,6 @@ repository = "https://github.com/ticky/coloursum" readme = "Readme.md" license = "MIT" -[badges] -travis-ci = { repository = "ticky/coloursum", branch = "develop" } -codecov = { repository = "ticky/coloursum", branch = "develop" } - [dependencies] ansi_term = "0.12.1" clap = { version = "4.0", features = ["derive"] }