Skip to content

Commit

Permalink
ci: upgraded ruby/setup-ruby action from version v1.152.0 to v1.178.0 (
Browse files Browse the repository at this point in the history
  • Loading branch information
desusai7 committed Jun 20, 2024
2 parents 5dc5b3f + f619a12 commit 5c16146
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:
shell: bash

- name: Set up Ruby
uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939
uses: ruby/setup-ruby@0cde4689ba33c09f1b890c1725572ad96751a3fc # pinned to version v1.178.0
with:
bundler-cache: true
cache-version: 1
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,17 @@ concurrency:
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
authorize:
name: Authorize
environment: ${{ github.event.pull_request.head.repo.fork && 'external' || 'internal' }}
runs-on: ubuntu-latest
steps:
- run: true

test:
needs: authorize # Require approval before running on forked pull requests
name: Test on ${{ matrix.platform.os }} using Xcode ${{ matrix.xcode }}
environment: ${{ github.event.pull_request.head.repo.fork && 'external' || 'internal' }}
runs-on: macos-13

env:
Expand Down Expand Up @@ -52,6 +61,8 @@ jobs:
- name: Upload coverage report
if: ${{ matrix.platform.os == 'iOS' }}
uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457
with:
token: ${{ secrets.CODECOV_TOKEN }}

test-package:
name: Test Swift package using Xcode ${{ matrix.xcode }}
Expand Down

0 comments on commit 5c16146

Please sign in to comment.