on: push
jobs:
get-changed-cargo-packages:
runs-on: ubuntu-latest
outputs:
changed-cargo-packages: ${{ steps.get-changed-cargo-packages.outputs.changed-cargo-packages }}
steps:
- uses: actions/checkout@v4
- id: get-changed-cargo-packages
uses: jcbhmr/get-changed-cargo-packages@v1
cargo-test:
needs: get-changed-cargo-packages
strategy:
matrix:
package: ${{ fromJSON(needs.get-changed-packages.outputs.changed-packages) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo test --package "$PACKAGE" --all-features
env:
PACKAGE: ${{ matrix.package }}
-
Notifications
You must be signed in to change notification settings - Fork 0
📦 Get a list of the cargo packages that changed on this push or pull_request event
License
jcbhmr/get-changed-cargo-packages
Use this GitHub action with your project
Add this Action to an existing workflow or create a new oneFolders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
Repository files navigation
About
📦 Get a list of the cargo packages that changed on this push or pull_request event
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published