Skip to content
Merged
2 changes: 1 addition & 1 deletion .github/workflows/validate-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate-yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: YAML Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- name: Lint YAML files
run: yamllint -d relaxed .
Expand All @@ -24,7 +24,7 @@ jobs:
name: GitHub Actions Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- name: Install actionlint
run: |
Expand Down
6 changes: 3 additions & 3 deletions actions/docker-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ runs:
using: 'composite'
steps:
- name: Log in to the Container registry
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ inputs.github-token }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0

- name: Extract image name
id: image-name
Expand All @@ -51,7 +51,7 @@ runs:
fi

- name: Build and push Docker image
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
with:
push: true
context: ${{ inputs.context }}
Expand Down
2 changes: 1 addition & 1 deletion actions/healthcheck/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
using: 'composite'
steps:
- name: Check the deployed service URL
uses: jtalk/url-health-check-action@b716ccb6645355dd9fcce8002ce460e5474f7f00 # v4
uses: jtalk/url-health-check-action@e7d5ebdc9027fbf494d2d034f3e8fc78f8b7a2b9 # v5
with:
url: ${{ inputs.url }}
max-attempts: ${{ inputs.max-attempts }}
Expand Down
14 changes: 7 additions & 7 deletions workflows/expo-publish-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
steps:
- name: Setup repo
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- uses: cardinalby/export-env-action@4f48c4676cf6ed6f46e30899ee987ce695da7c80 # 2.2.3
with:
Expand All @@ -80,10 +80,10 @@ jobs:
run: bun install --frozen-lockfile

- name: Install 1Password CLI
uses: 1password/install-cli-action@143a85f84a90555d121cde2ff5872e393a47ab9f # v1.0.0
uses: 1password/install-cli-action@a5215d3a7f75c1629216c465ea9ab3ab399c4b71 # v4.0.0

- name: Load secret
uses: 1password/load-secrets-action/configure@581a835fb51b8e7ec56b71cf2ffddd7e68bb25e0 # v2.0.0
uses: 1password/load-secrets-action/configure@3a12b0ab99d9cd590a3e9b5a90ea017210ed9556 # v4.0.1
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}

Expand All @@ -97,7 +97,7 @@ jobs:

- name: Find Metro cache
id: metro-cache-dir-path
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
result-encoding: string
script: |
Expand All @@ -106,14 +106,14 @@ jobs:
return path.join(os.tmpdir(), 'metro-cache');

- name: Cache Metro
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
id: cache-metro
with:
path: ${{ steps.metro-cache-dir-path.outputs.result }}
key: metro-cache-${{ env.BUN_VERSION }}-${{ runner.os }}-${{ inputs.platform }}-${{ inputs.working_directory }}

- name: Setup EAS
uses: expo/expo-github-action@c7b66a9c327a43a8fa7c0158e7f30d6040d2481e # v8.2.1
uses: expo/expo-github-action@eab7a230208c952974db8c3245cfd78402c7b385 # v9.0.0
Comment thread
Ryiguchi marked this conversation as resolved.
with:
eas-version: latest
packager: bun
Expand All @@ -123,7 +123,7 @@ jobs:
run: bun run codegen

- name: Create preview
uses: expo/expo-github-action/preview@c7b66a9c327a43a8fa7c0158e7f30d6040d2481e # v8.2.1
uses: expo/expo-github-action/preview@eab7a230208c952974db8c3245cfd78402c7b385 # v9.0.0
Comment thread
Ryiguchi marked this conversation as resolved.
env:
TAMAGUI_TARGET: native
EXPO_PUBLIC_BACKEND_ROOT_URL: ${{ inputs.backend_url }}
Expand Down
28 changes: 14 additions & 14 deletions workflows/test-in-parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ on:
pnpm_version:
required: false
type: string
default: "8"
description: If using pnpm - which version to use
description: If using pnpm - which version to use (defaults to the packageManager field in package.json)
Comment on lines 30 to +33
env_file:
required: false
type: string
Expand Down Expand Up @@ -65,8 +64,7 @@ on:
pnpm_version:
required: false
type: string
default: "8"
description: If using pnpm - which version to use
description: If using pnpm - which version to use (defaults to the packageManager field in package.json)
Comment thread
Ryiguchi marked this conversation as resolved.
op_setup_script:
required: false
type: string
Expand All @@ -93,14 +91,14 @@ jobs:
test-chunk-ids: ${{ steps['set-test-chunk-ids'].outputs['test-chunk-ids'] }}

steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- uses: cardinalby/export-env-action@4f48c4676cf6ed6f46e30899ee987ce695da7c80 # 2.2.3
if: ${{ inputs.env_file }}
with:
envFile: ${{ inputs.env_file }}

- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
if: ${{ inputs.package_manager == 'pnpm' }}
with:
version: ${{ inputs.pnpm_version }}
Expand All @@ -110,12 +108,13 @@ jobs:
with:
bun-version: ${{ env.BUN_VERSION }}

- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
if: ${{ env.ACT && inputs.package_manager != 'bun' }}
with:
node-version-file: .nvmrc
package-manager-cache: false

- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
if: ${{ !env.ACT && inputs.package_manager != 'bun' }}
with:
node-version-file: .nvmrc
Expand Down Expand Up @@ -152,9 +151,9 @@ jobs:
chunk: ${{ fromJson(needs.setup.outputs['test-chunk-ids']) }}

steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
if: ${{ inputs.package_manager == 'pnpm' }}
with:
version: ${{ inputs.pnpm_version }}
Expand All @@ -170,13 +169,14 @@ jobs:
bun-version: ${{ env.BUN_VERSION }}

- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
if: ${{ env.ACT && inputs.package_manager != 'bun' }}
with:
node-version-file: .nvmrc
package-manager-cache: false

- name: Setup Node and Cache
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
if: ${{ !env.ACT && inputs.package_manager != 'bun' }}
with:
node-version-file: .nvmrc
Expand All @@ -191,11 +191,11 @@ jobs:
if: ${{ inputs.package_manager != 'npm' }}

- name: Install 1Password CLI
uses: 1password/install-cli-action@143a85f84a90555d121cde2ff5872e393a47ab9f # v1.0.0
uses: 1password/install-cli-action@a5215d3a7f75c1629216c465ea9ab3ab399c4b71 # v4.0.0
if: ${{ inputs.op_setup_script }}

- name: Load secret
uses: 1password/load-secrets-action/configure@581a835fb51b8e7ec56b71cf2ffddd7e68bb25e0 # v2.0.0
uses: 1password/load-secrets-action/configure@3a12b0ab99d9cd590a3e9b5a90ea017210ed9556 # v4.0.1
if: ${{ inputs.op_setup_script }}
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
Expand Down
Loading