diff --git a/.github/workflows/create_test_patches.yml b/.github/workflows/create_test_patches.yml index 4bd6e37db5..f2ac943d69 100644 --- a/.github/workflows/create_test_patches.yml +++ b/.github/workflows/create_test_patches.yml @@ -28,13 +28,13 @@ jobs: with: all_but_latest: true - - 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 @@ -42,7 +42,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: @@ -93,7 +93,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 41fd2c6d2e..00a3bfac9c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,10 +17,10 @@ jobs: - uses: styfle/cancel-workflow-action@0.9.1 with: all_but_latest: true - - 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 diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 96877a3ed9..37bacda8e2 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -18,21 +18,21 @@ jobs: - uses: styfle/cancel-workflow-action@0.9.1 with: all_but_latest: true - - 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: Configure JDK 1.11 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: '11' - 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: @@ -62,16 +62,16 @@ jobs: - uses: styfle/cancel-workflow-action@0.9.1 with: all_but_latest: true - - 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: @@ -96,16 +96,16 @@ jobs: - uses: styfle/cancel-workflow-action@0.9.1 with: all_but_latest: true - - 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 f3fde151c6..57f503aab5 100644 --- a/.github/workflows/pr_title.yml +++ b/.github/workflows/pr_title.yml @@ -17,10 +17,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} steps: - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: 16 - - uses: amannn/action-semantic-pull-request@v4.2.0 + - uses: amannn/action-semantic-pull-request@v5 with: validateSingleCommit: true validateSingleCommitMatchesPrTitle: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2f83d3b6ea..06f2f759d2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,11 +13,11 @@ jobs: timeout-minutes: 5 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: 'main' fetch-depth: 0 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: 16 - name: Yarn Install @@ -32,7 +32,7 @@ jobs: git config --global user.name '@Salakar' git config --global user.email 'Salakar@users.noreply.github.com' git remote set-url origin git@github.com:$GITHUB_REPOSITORY - - uses: webfactory/ssh-agent@v0.5.3 + - uses: webfactory/ssh-agent@v0.7.0 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - name: Publish Packages diff --git a/.github/workflows/tests_e2e_android.yml b/.github/workflows/tests_e2e_android.yml index c046822222..08ac47c529 100644 --- a/.github/workflows/tests_e2e_android.yml +++ b/.github/workflows/tests_e2e_android.yml @@ -45,17 +45,17 @@ jobs: with: all_but_latest: true - - 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' @@ -68,7 +68,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: @@ -85,7 +85,7 @@ jobs: command: DETOX_DISABLE_POSTINSTALL=1 yarn --no-audit --prefer-offline - name: Cache Firestore Emulator - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cache/firebase/emulators key: firebase-emulators-v1-${{ github.run_id }} @@ -94,7 +94,7 @@ jobs: - name: Start Firestore Emulator run: yarn tests:emulator:start-ci - - uses: actions/cache@v2 + - uses: actions/cache@v3 name: Gradle Cache with: path: ~/.gradle/caches @@ -110,7 +110,7 @@ jobs: command: yarn tests:android:build - 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 }} diff --git a/.github/workflows/tests_e2e_ios.yml b/.github/workflows/tests_e2e_ios.yml index 1fdfb72c4f..299db1925a 100644 --- a/.github/workflows/tests_e2e_ios.yml +++ b/.github/workflows/tests_e2e_ios.yml @@ -34,12 +34,12 @@ jobs: all_but_latest: true # 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' @@ -60,7 +60,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: @@ -68,7 +68,7 @@ jobs: key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }} restore-keys: ${{ runner.os }}-yarn-v1 - - uses: actions/cache@v2 + - uses: actions/cache@v3 name: Detox Framework Cache id: detox-cache with: @@ -103,7 +103,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: @@ -120,7 +120,7 @@ jobs: command: yarn tests:ios:pod:install - name: Cache Firestore Emulator - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cache/firebase/emulators key: firebase-emulators-v1-${{ github.run_id }} @@ -154,7 +154,7 @@ jobs: shell: bash - 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 }} @@ -187,7 +187,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 2ab069c398..2bb9087f80 100644 --- a/.github/workflows/tests_jest.yml +++ b/.github/workflows/tests_jest.yml @@ -30,16 +30,16 @@ jobs: - uses: styfle/cancel-workflow-action@0.9.1 with: all_but_latest: true - - 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: