Skip to content

Commit

Permalink
Run actions on master with schedule (kstenerud#487)
Browse files Browse the repository at this point in the history
* Add new rules

* Increase timeout limit for cocoapods
  • Loading branch information
GLinnik21 authored May 21, 2024
1 parent 32947c6 commit c93404e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/cocoapods-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@ name: CocoaPods Lint

on:
pull_request:
paths:
- 'Sources/**'
- 'KSCrash.podspec'
- '.github/workflows/cocoapods-lint.yml'

push:
branches:
- master

schedule:
- cron: '0 0 1 * *'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -10,7 +21,7 @@ concurrency:
jobs:
lint:
runs-on: macos-latest
timeout-minutes: 10
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@ name: Run Unit Tests

on:
pull_request:
paths:
- 'Sources/**'
- 'Package.swift'
- '.github/workflows/unit-tests.yml'
- '.swiftpm/xcode/xcshareddata/xcschemes/**'

push:
branches:
- master

schedule:
- cron: '0 0 1 * *'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down

0 comments on commit c93404e

Please sign in to comment.