Skip to content

Commit

Permalink
Remove redundant change detection from server.yaml action
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarflakstad committed Jun 25, 2024
1 parent ae3fb95 commit 29a353d
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,45 +15,13 @@ env:
RUSTUP_MAX_RETRIES: 10

jobs:
detect-changes:
name: Detect which files have changed
runs-on: ubuntu-latest
timeout-minutes: 3
# Map a step output to a job output
outputs:
agency: ${{ steps.changes.outputs.agency }}
frontend: ${{ steps.changes.outputs.frontend }}
llmlingua_service: ${{ steps.changes.outputs.llmlingua_service }}
proto: ${{ steps.changes.outputs.proto }}
server: ${{ steps.changes.outputs.server }}
steps:
- uses: actions/checkout@v4

- name: Find changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v2
id: changes
with:
token: ${{ github.token }}
filters: .github/file-filters.yml

coverage-and-linting:
name: Test coverage & linting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
src:
- 'src/**'
# run only if some file in 'src' folder was changed
- if: steps.changes.outputs.src == 'true'
run: ...

- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
Expand Down

0 comments on commit 29a353d

Please sign in to comment.