Skip to content

chore(deps): bump clap from 4.5.4 to 4.5.15 #190

chore(deps): bump clap from 4.5.4 to 4.5.15

chore(deps): bump clap from 4.5.4 to 4.5.15 #190

Workflow file for this run

name: Check own GitHub action
on:
pull_request:
workflow_dispatch:
jobs:
check_action:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Install FilesFinder
run: cargo install --path .
- name: Run ff
id: expected
run: echo "files=$(ff '*.rs' '*.toml' | sort | paste -sd ' ')" >> $GITHUB_OUTPUT
- name: Uses an action in the root directory
uses: ./
id: ff
with:
args: '*.rs *.toml'
- name: Sort and save action's output
id: actual
run: echo "files=$(echo ${{ steps.ff.outputs.files }} | tr ' ' '\n' | sort | paste -sd ' ')" >> $GITHUB_OUTPUT
- name: Compare outputs
uses: nick-fields/assert-action@v2
with:
expected: ${{ steps.expected.outputs.files }}
actual: ${{ steps.actual.outputs.files }}