Skip to content

Commit

Permalink
update all github actions to latest versions for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Nov 27, 2022
1 parent c3a8c94 commit 0831f5d
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 40 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-selenium-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: windows-latest
steps:
- name: "Checkout project"
uses: actions/checkout@master
uses: actions/checkout@v3
- name: "Build release"
run: |
rustup update
Expand All @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout project"
uses: actions/checkout@master
uses: actions/checkout@v3
- name: "Build release"
run: |
rustup update
Expand All @@ -48,7 +48,7 @@ jobs:
runs-on: macos-latest
steps:
- name: "Checkout project"
uses: actions/checkout@master
uses: actions/checkout@v3
- name: "Build release"
run: |
rustup update
Expand Down
40 changes: 24 additions & 16 deletions .github/workflows/ci-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Checkout source tree
uses: actions/checkout@v3
- name: Cache Bazel artifacts
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/bazel-disk
Expand All @@ -40,9 +40,10 @@ jobs:
restore-keys: |
${{ runner.os }}-bazel-build-
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Build grid
uses: ./.github/actions/bazel
with:
Expand All @@ -58,7 +59,7 @@ jobs:
with:
fetch-depth: 0
- name: Cache Bazel artifacts
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/bazel-disk
Expand All @@ -68,9 +69,10 @@ jobs:
${{ runner.os }}-bazel-small-tests-
${{ runner.os }}-bazel-build-
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Run small tests
uses: ./.github/actions/bazel-test
with:
Expand All @@ -91,7 +93,7 @@ jobs:
with:
fetch-depth: 0
- name: Cache Bazel artifacts
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/bazel-disk
Expand All @@ -101,9 +103,10 @@ jobs:
${{ runner.os }}-bazel-medium-tests-
${{ runner.os }}-bazel-build-
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Run medium tests
uses: ./.github/actions/bazel-test
with:
Expand All @@ -118,7 +121,7 @@ jobs:
- name: Checkout source tree
uses: actions/checkout@v3
- name: Cache Bazel artifacts
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/bazel-disk
Expand All @@ -128,9 +131,10 @@ jobs:
${{ runner.os }}-bazel-lint-
${{ runner.os }}-bazel-build-
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Run linter
uses: ./.github/actions/bazel-test
with:
Expand All @@ -152,7 +156,7 @@ jobs:
- name: Checkout source tree
uses: actions/checkout@v3
- name: Cache Bazel artifacts
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/bazel-disk
Expand All @@ -164,9 +168,10 @@ jobs:
- name: Setup Fluxbox
run: sudo apt-get -y install fluxbox
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Setup Firefox
uses: abhi1693/[email protected]
with:
Expand Down Expand Up @@ -208,7 +213,7 @@ jobs:
- name: Checkout source tree
uses: actions/checkout@v3
- name: Cache Bazel artifacts
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/bazel-disk
Expand All @@ -221,9 +226,10 @@ jobs:
- name: Setup Fluxbox
run: sudo apt-get -y install fluxbox
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Setup Firefox
uses: abhi1693/[email protected]
with:
Expand Down Expand Up @@ -257,7 +263,7 @@ jobs:
- name: Checkout source tree
uses: actions/checkout@v3
- name: Cache Bazel artifacts
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/bazel-disk
Expand All @@ -269,9 +275,10 @@ jobs:
- name: Setup Fluxbox
run: sudo apt-get -y install fluxbox
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Setup Firefox
uses: abhi1693/[email protected]
with:
Expand Down Expand Up @@ -299,7 +306,7 @@ jobs:
- name: Checkout source tree
uses: actions/checkout@v3
- name: Cache Bazel artifacts
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/bazel-disk
Expand All @@ -309,9 +316,10 @@ jobs:
${{ runner.os }}-bazel-firefox-tests-
${{ runner.os }}-bazel-build-
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Generate javadoc
run: |
./go --verbose javadocs
16 changes: 9 additions & 7 deletions .github/workflows/ci-javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
- { "browser": "chrome", "version": "stable" }
steps:
- name: Checkout source tree
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Cache Bazel artifacts
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/bazel-disk
Expand All @@ -48,9 +48,10 @@ jobs:
with:
node-version: '16.x'
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'adopt'
- name: Setup Fluxbox
run: sudo apt-get -y install fluxbox
- name: Setup Firefox
Expand Down Expand Up @@ -83,9 +84,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source tree
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Cache Bazel artifacts
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/bazel-disk
Expand All @@ -94,9 +95,10 @@ jobs:
restore-keys: |
${{ runner.os }}-bazel-atom-firefox-tests-
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'adopt'
- name: Setup Fluxbox
run: sudo apt-get -y install fluxbox
- name: Setup Firefox
Expand Down Expand Up @@ -124,7 +126,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source tree
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2
with:
Expand Down
26 changes: 15 additions & 11 deletions .github/workflows/ci-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ jobs:
target: [ 'selenium-devtools', 'selenium-webdriver' ]
steps:
- name: Checkout source tree
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'adopt'
- name: Cache Bazel artifacts
uses: ./.github/actions/cache-bazel
with:
Expand All @@ -56,11 +57,12 @@ jobs:
os: [ 'ubuntu-latest', 'windows-latest' ]
steps:
- name: Checkout source tree
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'adopt'
- name: Cache Bazel artifacts
uses: ./.github/actions/cache-bazel
with:
Expand Down Expand Up @@ -101,11 +103,12 @@ jobs:
os: [ 'windows-latest' ]
steps:
- name: Checkout source tree
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'adopt'
- name: Cache Bazel artifacts
uses: ./.github/actions/cache-bazel
with:
Expand All @@ -132,11 +135,12 @@ jobs:
os: [ 'ubuntu-latest', 'windows-latest' ]
steps:
- name: Checkout source tree
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'adopt'
- name: Cache Bazel artifacts
uses: ./.github/actions/cache-bazel
with:
Expand Down Expand Up @@ -173,7 +177,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source tree
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Cache Bazel artifacts
uses: ./.github/actions/cache-bazel
with:
Expand All @@ -190,7 +194,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source tree
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Cache Bazel artifacts
uses: ./.github/actions/cache-bazel
with:
Expand All @@ -215,7 +219,7 @@ jobs:
os: windows-latest
steps:
- name: Checkout source tree
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Cache Bazel artifacts
uses: ./.github/actions/cache-bazel
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-commenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
comment:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Label Commenter
uses: peaceiris/actions-label-commenter@v1
5 changes: 3 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ jobs:
- selenium-devtools
- selenium-webdriver
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'adopt'
- uses: ./.github/actions/cache-bazel
with:
workflow: ruby
Expand Down

0 comments on commit 0831f5d

Please sign in to comment.