Skip to content

Bump version: 0.0.49 → 0.0.50 #102

Bump version: 0.0.49 → 0.0.50

Bump version: 0.0.49 → 0.0.50 #102

Workflow file for this run

name: test-action
on:
push: {}
workflow_call: {}
pull_request:
types: [opened, synchronize, reopened, edited]
schedule:
# 8AM first day of the month in JAN and JUNE to keep workflow badges up-to-date
- cron: "0 8 1 1,6 *"
jobs:
feature-matrix:
runs-on: ubuntu-24.04
outputs:
matrix: ${{ steps.feature-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo install --locked cargo-feature-combinations
- name: Compute feature matrix
id: feature-matrix
run: >-
echo "matrix=$(cargo fc matrix)" >> "$GITHUB_OUTPUT"
- name: Print feature matrix
run: |
echo "${{ steps.feature-matrix.outputs.matrix }}"
test-features:
name: test ${{ matrix.package.name }} (${{ matrix.package.features }})
runs-on: ubuntu-24.04
needs: [feature-matrix]
strategy:
fail-fast: false
matrix:
package: ${{ fromJson(needs.feature-matrix.outputs.matrix) }}
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-task@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: dtolnay/rust-toolchain@stable
- name: Test
# prettier-ignore
run: >-
cargo test
--package "${{ matrix.package.name }}"
--features "${{ matrix.package.features }}"
--all-targets
test-action:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Download and install cargo-feature-combinations via local action
uses: ./
- name: Test installation
run: cargo fc --help