Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcbhmr/get-changed-cargo-packages
📦 Get a list of the cargo packages that changed on this push or pull_request event
https://github.com/jcbhmr/get-changed-cargo-packages
action actions cargo cargo-workspaces changed-files github-actions
Last synced: about 1 month ago
JSON representation
📦 Get a list of the cargo packages that changed on this push or pull_request event
- Host: GitHub
- URL: https://github.com/jcbhmr/get-changed-cargo-packages
- Owner: jcbhmr
- License: mit
- Created: 2024-03-21T15:48:19.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-21T17:21:45.000Z (8 months ago)
- Last Synced: 2024-09-30T23:24:57.934Z (about 2 months ago)
- Topics: action, actions, cargo, cargo-workspaces, changed-files, github-actions
- Language: TypeScript
- Homepage:
- Size: 31.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Get changed Cargo packages
## Usage
```yml
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 }}
```