Commit f5518864 authored by Nugine's avatar Nugine
Browse files

ci: run on feature branches

parent 93832186
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4,17 +4,20 @@ on:
  push:
    branches:
      - main
      - 'feat/**'
    paths: 
      - '**/Cargo.toml'
      - '**/Cargo.lock'
  pull_request:
    branches:
      - main
      - 'feat/**'
    paths: 
      - '**/Cargo.toml'
      - '**/Cargo.lock'
  schedule:
    - cron: '0 0 * * 0' # at midnight of each sunday
  workflow_dispatch:

jobs:
  audit:
+5 −3
Original line number Diff line number Diff line
name: CI

on:
  push:
    branches:
      - main
      - 'feat/**'
  pull_request:
    branches:
      - main
  schedule: # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onschedule
      - 'feat/**'
  schedule:
    - cron: '0 0 * * 0' # at midnight of each sunday
  workflow_dispatch:

name: CI

jobs:
  develop:
    runs-on: ubuntu-latest