mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
fix workflow
This commit is contained in:
parent
4d9bb8bf83
commit
625c85cd45
10
.github/workflows/test.lint.yml
vendored
10
.github/workflows/test.lint.yml
vendored
@ -4,17 +4,17 @@ on: push
|
||||
|
||||
jobs:
|
||||
files-changed:
|
||||
name: Detect File Changes - src/
|
||||
name: Detect File Changes - lint
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
src: ${{ steps.filter.outputs.src }}
|
||||
lint: ${{ steps.filter.outputs.lint }}
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7
|
||||
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
|
||||
id: filter
|
||||
with:
|
||||
src: |
|
||||
src:
|
||||
filters: |
|
||||
lint:
|
||||
- '.github/workflows/**/*'
|
||||
- 'src/**/*'
|
||||
|
||||
@ -33,7 +33,7 @@ jobs:
|
||||
# working-directory: ./frontend
|
||||
|
||||
lint:
|
||||
if: needs.files-changed.outputs.src == 'true'
|
||||
if: needs.files-changed.outputs.lint == 'true'
|
||||
name: Lint
|
||||
needs: files-changed
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user