Skip to content

Commit

Permalink
Feature/gh actions (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgehermo9 authored Oct 4, 2024
1 parent b275ef8 commit c2d9bf1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ on:
branches: [main]
pull_request:
paths:
- 'crates/web/frontend/**'
- "crates/web/frontend/**"
- ".github/workflows/frontend.yml"
# If new code is pushed to a PR branch, then cancel in progress workflows for that PR. Ensures that
# we don't waste CI time, and returns results quicker https://github.com/jonhoo/rust-ci-conf/pull/5
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
name: nextjs
name: frontend
jobs:
ci:
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ on:
push:
branches: [main]
pull_request:
paths:
- "crates/**"
- "**Cargo.toml"
- "**Cargo.lock"
- ".github/workflows/rust.yml"
- "!crates/web/frontend/**"
# If new code is pushed to a PR branch, then cancel in progress workflows for that PR. Ensures that
# we don't waste CI time, and returns results quicker https://github.com/jonhoo/rust-ci-conf/pull/5
concurrency:
Expand Down

0 comments on commit c2d9bf1

Please sign in to comment.