Skip to content

Commit

Permalink
test: bump all workflow action versions to current
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Oct 30, 2022
1 parent e2e63ae commit 466ac2a
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 31 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create_test_patches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ jobs:
name: Create patch-package Patches
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# Future ideas:
# - make into an action, parameterize directories to pack, and package names to install
# - name patches w/PR as "semver prerelease" and SHA as "semver build info". Needs patch-package enhancement.

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v2
- uses: actions/cache@v3
name: Yarn Cache
id: yarn-cache
with:
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
shell: bash

- name: Upload Test Patches
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: patches
path: ~/template/patches/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
name: 'Spelling & Grammar & Markdown'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Dependencies
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Get yarn cache directory path
Expand Down Expand Up @@ -64,16 +64,16 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
- uses: actions/cache@v3
name: Yarn Cache
id: yarn-cache
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- uses: amannn/action-semantic-pull-request@v3.4.2
- uses: amannn/action-semantic-pull-request@v5
with:
validateSingleCommit: true
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Yarn Install
uses: nick-invision/retry@v1
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
retry_wait_seconds: 60
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests_e2e_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ jobs:
# This is useful for benchmarking, do 0, 1, 2, etc (up to 256 max job-per-matrix limit) for averages
iteration: [0]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 50

# Set up tool versions
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16

- name: Configure JDK 1.11
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11' # ubuntu-latest is about to default to 11, force it everywhere
Expand All @@ -67,7 +67,7 @@ jobs:
echo "::set-output name=yarn-cache-dir::$(yarn cache dir)"
echo "::set-output name=tempdir::$TMPDIR"
- uses: actions/cache@v2
- uses: actions/cache@v3
name: Yarn Cache
id: yarn-cache
with:
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
echo "First boot warmup completed."
- name: Metro Bundler Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.workflow-variables.outputs.metro-cache }}
key: ${{ runner.os }}-metro-v1-${{ github.run_id }}
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
shell: bash

- name: Upload Emulator Log
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: adb_logs
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tests_e2e_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps:
# Set up tool versions
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16

- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable

- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 50

Expand All @@ -53,15 +53,15 @@ jobs:
echo "::set-output name=xcode-version::$(xcodebuild -version|tail -1|cut -f3 -d' ')"
echo "::set-output name=yarn-cache-dir::$(yarn cache dir)"
- uses: actions/cache@v2
- uses: actions/cache@v3
name: Yarn Cache
id: yarn-cache
with:
path: ${{ steps.workflow-variables.outputs.yarn-cache-dir }}
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/package.json') }}
restore-keys: ${{ runner.os }}-yarn-v1

- uses: actions/cache@v2
- uses: actions/cache@v3
name: Detox Framework Cache
id: detox-cache
with:
Expand All @@ -88,7 +88,7 @@ jobs:
max_attempts: 3
command: gem update cocoapods xcodeproj

- uses: actions/cache@v2
- uses: actions/cache@v3
name: Cache Pods
id: pods-cache
with:
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
command: HOMEBREW_NO_AUTO_UPDATE=1 brew tap wix/brew && HOMEBREW_NO_AUTO_UPDATE=1 brew install applesimutils && applesimutils --list

- name: Metro Bundler Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.workflow-variables.outputs.metro-cache }}
key: ${{ runner.os }}-metro-v1-${{ github.run_id }}
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
run: gzip -9 simulator.log

- name: Upload Simulator Log
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: always()
with:
name: simulator_log
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests_jest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 50
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
- uses: actions/cache@v3
name: Yarn Cache
id: yarn-cache
with:
Expand Down

0 comments on commit 466ac2a

Please sign in to comment.