Skip to content

Commit

Permalink
Remove bors, consolidate workflows (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
passcod committed Dec 3, 2022
1 parent b8adf76 commit 25fbaed
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 158 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/audit.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/check.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/main.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/merge.yml

This file was deleted.

62 changes: 62 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,62 @@
name: Test
on:
pull_request:
push:
branches:
- main

jobs:
test:
strategy:
fail-fast: false
matrix:
platform:
- macos
- ubuntu
- windows
toolchain:
- stable
- 1.60.0
features:
- default
- with-tokio

name: "Test on ${{ matrix.platform }} with Rust ${{ matrix.toolchain }} (feat: ${{ matrix.features }})"
runs-on: "${{ matrix.platform }}-latest"

steps:
- uses: actions/checkout@v3

- name: Configure Rust
run: |
rustup toolchain install --profile minimal --no-self-update ${{ matrix.toolchain }}
rustup default ${{ matrix.toolchain }}
rustup component add clippy
- name: Configure caching
uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}

- run: cargo test --features ${{ matrix.features }}
- run: cargo clippy --features ${{ matrix.features }}

formatting:
name: Fmt check
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Configure Rust
run: |
rustup toolchain install --profile minimal --no-self-update stable
rustup default stable
- run: cargo fmt --check

2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -2,7 +2,7 @@

## Next (YYYY-MM-DD)

- Add BORS.
- Increase MSRV to 1.60.0 and change policy for increasing it (no longer a breaking change).

## v1.0.8 (2021-10-16)

Expand Down
4 changes: 2 additions & 2 deletions README.md
@@ -1,6 +1,5 @@
[![Crate release version](https://flat.badgen.net/crates/v/command-group)](https://crates.io/crates/command-group)
[![Crate license: Apache 2.0 or MIT](https://flat.badgen.net/badge/license/Apache%202.0%20or%20MIT)][copyright]
[![Bors enabled](https://bors.tech/images/badge_small.svg)](https://app.bors.tech/repositories/45673)
[![CI status on main branch](https://github.com/watchexec/command-group/actions/workflows/main.yml/badge.svg)](https://github.com/watchexec/command-group/actions/workflows/main.yml)

# Command Group
Expand All @@ -10,7 +9,8 @@ _Extension to [`Command`](https://doc.rust-lang.org/std/process/struct.Command.h
- **[API documentation][docs]**.
- [Dual-licensed][copyright] with Apache 2.0 and MIT.
- Minimum Supported Rust Version: 1.60.0.
- This is set as: 5 versions before stable, at the time of publish.
- Only the last five stable versions are supported.
- MSRV increases within that range at publish time will not incur major version bumps.

[caretaker]: ./CARETAKERS.md
[copyright]: ./COPYRIGHT
Expand Down
29 changes: 0 additions & 29 deletions bors.toml

This file was deleted.

0 comments on commit 25fbaed

Please sign in to comment.