Skip to content

Commit 59c175d

Browse files
committed
[build] make ruby and python use setup-firefox action
1 parent 77be05c commit 59c175d

2 files changed

Lines changed: 6 additions & 12 deletions

File tree

.github/workflows/ci-python.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,8 @@ jobs:
179179
uses: actions/setup-java@v1
180180
with:
181181
java-version: '11'
182-
- name: Setup Firefox
183-
uses: browser-actions/setup-firefox@latest
184-
- name: Setup GeckoDriver
185-
uses: browser-actions/setup-geckodriver@latest
182+
- name: Setup Firefox and GeckoDriver
183+
uses: ./.github/actions/setup-firefox
186184
- name: Start XVFB
187185
run: Xvfb :99 &
188186
- name: Run browser tests in Firefox (Remote)
@@ -219,10 +217,8 @@ jobs:
219217
uses: actions/setup-java@v1
220218
with:
221219
java-version: '11'
222-
- name: Setup Firefox
223-
uses: browser-actions/setup-firefox@latest
224-
- name: Setup GeckoDriver
225-
uses: browser-actions/setup-geckodriver@latest
220+
- name: Setup Firefox and GeckoDriver
221+
uses: ./.github/actions/setup-firefox
226222
- name: Start XVFB
227223
run: Xvfb :99 &
228224
- name: Run browser tests in Firefox

.github/workflows/ci-ruby.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,8 @@ jobs:
107107
restore-keys: |
108108
${{ runner.os }}-bazel-ruby-${{ matrix.target }}-
109109
- uses: ./.github/actions/setup-bazelisk
110-
- name: Setup Firefox
111-
uses: browser-actions/setup-firefox@latest
112-
- name: Setup GeckoDriver
113-
uses: browser-actions/setup-geckodriver@latest
110+
- name: Setup Firefox and GeckoDriver
111+
uses: ./.github/actions/setup-firefox
114112
- run: Xvfb :99 &
115113
- uses: ./.github/actions/bazel
116114
with:

0 commit comments

Comments
 (0)