Skip to content

Commit

Permalink
chore(ci): Update all workflows to use latest actions/ scoped github
Browse files Browse the repository at this point in the history
actions
  • Loading branch information
Steven0351 committed Feb 12, 2024
1 parent 924507a commit 89c5827
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
timeout-minutes: 30
steps:
- run: sudo xcode-select --switch /Applications/Xcode_15.1.app
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install xcpretty
run: gem install xcpretty
- name: Run Tests
Expand All @@ -27,7 +27,7 @@ jobs:
timeout-minutes: 30
steps:
- run: sudo xcode-select --switch /Applications/Xcode_15.1.app
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install cocoapods
run: gem install cocoapods
- name: Lint Podspec
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docs-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ name: Publish Docs Preview
on:
push:
branches:
- '**'
- "**"

jobs:
publish-preview-docs:
runs-on: macos-12
runs-on: macos-14
timeout-minutes: 30
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
steps:
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.x
- run: sudo xcode-select --switch /Applications/Xcode_14.1.app
- uses: actions/checkout@v2
- run: sudo xcode-select --switch /Applications/Xcode_15.1.app
- uses: actions/checkout@v4
- name: Install Vercel CLI
run: npm install -g vercel
- name: Pull Build Configuration
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docs-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ name: Publish Docs
on:
push:
tags:
- '*'
- "*"
workflow_dispatch:

jobs:
publish-docs:
runs-on: macos-12
runs-on: macos-14
timeout-minutes: 30
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
steps:
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.x
- run: sudo xcode-select --switch /Applications/Xcode_14.1.app
- uses: actions/checkout@v3
- run: sudo xcode-select --switch /Applications/Xcode_15.1.app
- uses: actions/checkout@v4
- name: Install Vercel CLI
run: npm install -g vercel
- name: Pull Build Configuration
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: Prerelease
on:
push:
branches:
- 'release/**'
- "release/**"

jobs:
update-version:
runs-on: macos-12
runs-on: macos-14
timeout-minutes: 30
steps:
- run: sudo xcode-select --switch /Applications/Xcode_14.1.app
- uses: actions/checkout@v3
- run: sudo xcode-select --switch /Applications/Xcode_15.1.app
- uses: actions/checkout@v4
- name: Install build dependencies
run: gem install cocoapods xcpretty fastlane
- name: Assign version to RELEASE_VERSION environment variable
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: Publish to Cocoapods
on:
push:
tags:
- '*'
- "*"

jobs:
publish-to-cocoapods:
runs-on: macos-12
runs-on: macos-14
timeout-minutes: 30
steps:
- run: sudo xcode-select --switch /Applications/Xcode_14.1.app
- uses: actions/checkout@v3
- run: sudo xcode-select --switch /Applications/Xcode_15.1.app
- uses: actions/checkout@v4
- name: Install build dependencies
run: gem install cocoapods
- name: Validate podspec
Expand Down

0 comments on commit 89c5827

Please sign in to comment.