Skip to content

Commit

Permalink
Remove remaining GitHub actions FIXMEs.
Browse files Browse the repository at this point in the history
  • Loading branch information
azriel91 committed Jun 27, 2023
1 parent c39bd42 commit 2da8f00
Showing 1 changed file with 6 additions and 31 deletions.
37 changes: 6 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,15 @@ jobs:
toolchain: nightly
components: clippy

- # FIXME: Switch back when actions-rs/cargo#217 gets merged
uses: r3-os/actions-rust-cargo@fb222fe18dc90e381546d012f9e3d6f353f0f627
with:
command: clippy
args: -- -D warnings
- run: cargo clippy -- -D warnings

coverage:
name: Coverage
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- # FIXME: Switch back when actions-rs/toolchain#{209,220,222} is merged
uses: r3-os/actions-rust-toolchain@a862b6623c178b43a3135516442a5f72fb5c1877
with:
profile: minimal
toolchain: nightly
override: true
- uses: dtolnay/rust-toolchain@stable

- name: tarpaulin Cache
id: tarpaulin_cache
Expand All @@ -69,19 +60,11 @@ jobs:
path: ~/.cargo/bin/cargo-tarpaulin
key: ${{ runner.os }}-cargo-tarpaulin

- # FIXME: Switch back when actions-rs/cargo#217 gets merged
uses: r3-os/actions-rust-cargo@fb222fe18dc90e381546d012f9e3d6f353f0f627
- run: cargo install cargo-tarpaulin
if: steps.tarpaulin_cache.outputs.cache-hit != 'true'
with:
command: install
args: cargo-tarpaulin

- name: 'Run `cargo-tarpaulin`'
# FIXME: Switch back when actions-rs/cargo#217 gets merged
uses: r3-os/actions-rust-cargo@fb222fe18dc90e381546d012f9e3d6f353f0f627
with:
command: tarpaulin
args: --workspace
run: cargo tarpaulin --workspace

- name: Upload to codecov.io
uses: codecov/codecov-action@v1
Expand All @@ -96,11 +79,7 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable

- # FIXME: Switch back when actions-rs/cargo#217 gets merged
uses: r3-os/actions-rust-cargo@fb222fe18dc90e381546d012f9e3d6f353f0f627
with:
command: test
args: --release
- run: cargo test --release

build_and_test_windows:
name: Build and Test (Windows)
Expand All @@ -113,8 +92,4 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable

- # FIXME: Switch back when actions-rs/cargo#217 gets merged
uses: r3-os/actions-rust-cargo@fb222fe18dc90e381546d012f9e3d6f353f0f627
with:
command: test
args: --release
- run: cargo test --release

0 comments on commit 2da8f00

Please sign in to comment.