Skip to content

Commit

Permalink
move into separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
NyxCode committed Jan 22, 2024
1 parent b7f8cd4 commit f19803f
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
on: [push, pull_request]
name: Test
jobs:
readme-up-to-date:
name: Check that README.md is up-to-date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Check that README.md is up-to-date
working-directory: ts-rs
run: |
cargo install cargo-readme
diff -u ../README.md <(cargo readme)
test:
name: Test ts-rs
runs-on: ubuntu-latest
Expand All @@ -16,9 +30,4 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --manifest-path ts-rs/Cargo.toml
- name: Check that README.md is up-to-date
working-directory: ts-rs
run: |
cargo install cargo-readme
diff -u ../README.md <(cargo readme)
args: --all-features --manifest-path ts-rs/Cargo.toml

0 comments on commit f19803f

Please sign in to comment.