Skip to content

Commit

Permalink
Update github actions checkout (#194)
Browse files Browse the repository at this point in the history
This fixes a few unexpected behaviors fixed on v2
  • Loading branch information
jerrymarino authored Jan 14, 2021
1 parent 1b32a5c commit 11b0051
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
name: Build and Test
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Select Xcode 11.6
run: sudo xcode-select -s /Applications/Xcode_11.6.app
- name: Build and Test
run: |
bazelisk test --local_test_jobs=1 -- //... -//tests/ios/...
# `deleted_packages` is needed below in order to override the value of the .bazelrc file
bazelisk test --local_test_jobs=1 --apple_platform_type=ios --deleted_packages='' -- //tests/ios/...
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v2
if: failure()
with:
name: bazel-testlogs
Expand All @@ -28,7 +28,7 @@ jobs:
name: Check Starlark and Docs
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Select Xcode 11.6
run: sudo xcode-select -s /Applications/Xcode_11.6.app
- name: Install buildifier
Expand All @@ -41,7 +41,7 @@ jobs:
name: .xcodeproj Tests on Xcode 11.6
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Select Xcode 11.6
run: sudo xcode-select -s /Applications/Xcode_11.6.app
- name: Run tests
Expand All @@ -50,7 +50,7 @@ jobs:
name: .xcodeproj Tests on Xcode 12.2
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Select Xcode 12.2
run: sudo xcode-select -s /Applications/Xcode_12.2.app
- name: Run tests
Expand Down

0 comments on commit 11b0051

Please sign in to comment.