Skip to content

Commit f6e1a6c

Browse files
authored
Use GHA paths (#4668)
1 parent 71a001e commit f6e1a6c

File tree

4 files changed

+53
-39
lines changed

4 files changed

+53
-39
lines changed

.github/workflows/actions.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/check.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: check
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
check:
7+
runs-on: macOS-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- name: Check
11+
run: |
12+
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/e3496d9/Formula/clang-format.rb
13+
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/7963c3d/Formula/swiftformat.rb
14+
pip install flake8
15+
./scripts/check.sh --test-only

.github/workflows/core.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: core
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'FirebaseCore**'
7+
8+
jobs:
9+
core:
10+
runs-on: macOS-latest
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Set up
14+
run: |
15+
bundle install
16+
bundle exec pod --version
17+
- name: FirebaseCore
18+
run: ./scripts/pod_lib_lint.rb FirebaseCore.podspec --platforms=ios

.github/workflows/dynamiclinks.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: dynamiclinks
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'Firebase/DynamicLinks**'
7+
- 'FirebaseDynamicLinks**'
8+
- 'Example/DynamicLinks**'
9+
10+
jobs:
11+
dynamiclinks:
12+
runs-on: macOS-latest
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Set up
16+
run: |
17+
bundle install
18+
bundle exec pod --version
19+
- name: FirebaseDynamicLinks
20+
run: ./scripts/pod_lib_lint.rb FirebaseDynamicLinks.podspec

0 commit comments

Comments
 (0)