diff --git a/.github/workflows/create_test_patches.yml b/.github/workflows/create_test_patches.yml index 4837a2a1..e19ac845 100644 --- a/.github/workflows/create_test_patches.yml +++ b/.github/workflows/create_test_patches.yml @@ -24,13 +24,13 @@ 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 @@ -38,7 +38,7 @@ jobs: 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: @@ -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/ diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3eaefbd1..4ef8bcc2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index fdd30874..a770869c 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -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 @@ -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: diff --git a/.github/workflows/pr_title.yml b/.github/workflows/pr_title.yml index 21c7787a..2758447b 100644 --- a/.github/workflows/pr_title.yml +++ b/.github/workflows/pr_title.yml @@ -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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 87f60ac5..2b8276cd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/.github/workflows/tests_e2e_android.yml b/.github/workflows/tests_e2e_android.yml index ae484dd9..8a8e9890 100644 --- a/.github/workflows/tests_e2e_android.yml +++ b/.github/workflows/tests_e2e_android.yml @@ -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 @@ -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: @@ -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 }} @@ -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 diff --git a/.github/workflows/tests_e2e_ios.yml b/.github/workflows/tests_e2e_ios.yml index 1b8c6f1f..cae5c187 100644 --- a/.github/workflows/tests_e2e_ios.yml +++ b/.github/workflows/tests_e2e_ios.yml @@ -33,7 +33,7 @@ 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 @@ -41,7 +41,7 @@ jobs: with: xcode-version: latest-stable - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 50 @@ -53,7 +53,7 @@ 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: @@ -61,7 +61,7 @@ jobs: 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: @@ -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: @@ -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 }} @@ -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 diff --git a/.github/workflows/tests_jest.yml b/.github/workflows/tests_jest.yml index ede3d6e7..85618bf0 100644 --- a/.github/workflows/tests_jest.yml +++ b/.github/workflows/tests_jest.yml @@ -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: