Skip to content

Commit

Permalink
chore(ci): upgrade GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Nov 14, 2023
1 parent 8cb5268 commit 2dbeb9a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,29 @@ on: [push]
jobs:
build-swift:
name: Build with swift
runs-on: macos-12
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '13.4.1'
xcode-version: latest-stable
- name: Build Package with swift
run: swift build

build-xcodebuild:
name: Build with xcodebuild
runs-on: macos-12
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '13.4.1'
xcode-version: latest-stable
- name: Set Default Scheme
run: |
scheme_list=$(xcodebuild -list -json | tr -d "\n")
Expand All @@ -50,14 +50,14 @@ jobs:
cocoapods:
name: Verify cocopods podspec
needs: [ build-xcodebuild ]
runs-on: macos-12
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '13.4.1'
xcode-version: latest-stable
- name: Verify cocoapods
run: pod lib lint --allow-warnings
2 changes: 1 addition & 1 deletion .github/workflows/create-release-from-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
update-documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Create draft release if needed
uses: apivideo/api.video-release-from-changelog-action@main
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
deploy:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install Cocoapods
run: gem install cocoapods
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set API key
run: |
sed -i -e "s/INTEGRATION_TESTS_API_KEY/${INTEGRATION_TESTS_API_KEY}/" ./Tests/ApiVideoClient/Integration/Parameters.swift
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
update-documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Update readme.io documentation
uses: apivideo/[email protected]
with:
Expand Down

0 comments on commit 2dbeb9a

Please sign in to comment.