Skip to content

Fix test bugs and add missing test #1

Fix test bugs and add missing test

Fix test bugs and add missing test #1

Workflow file for this run

name: Pull Request
on:
pull_request:
branches: [main]
jobs:
setup-environment:
name: Set env vars
runs-on: ubuntu-latest
outputs:
cargo_cache_key: ${{ steps.cargo_cache_key.outputs.value }}
steps:
- uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc # v4.1.7
- name: Set cargo cache key
id: cargo_cache_key
run: |
CARGO_CACHE_KEY="${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}"
echo "value=$CARGO_CACHE_KEY" >> $GITHUB_OUTPUT
lint:
needs: setup-environment
uses: ./.github/workflows/lint.yml

Check failure on line 22 in .github/workflows/pr.yml

View workflow run for this annotation

GitHub Actions / Pull Request

Invalid workflow file

The workflow is not valid. In .github/workflows/pr.yml (Line: 22, Col: 11): Error from called workflow tinted-theming/ribboncurls/.github/workflows/lint.yml@3c6288cf59eaed4ca21909553bbe16e6cc1fef87 (Line: 27, Col: 9): 'uses' is already defined In .github/workflows/pr.yml (Line: 22, Col: 11): Error from called workflow tinted-theming/ribboncurls/.github/workflows/lint.yml@3c6288cf59eaed4ca21909553bbe16e6cc1fef87 (Line: 28, Col: 9): 'with' is already defined
with:
cache-key: ${{ needs.setup-environment.outputs.cargo_cache_key }}
test:
needs: setup-environment
uses: ./.github/workflows/test.yml
with:
cache-key: ${{ needs.setup-environment.outputs.cargo_cache_key }}