Skip to content

Commit d9173c6

Browse files
committed
Actions : Update to checkout@v2
This is said to fix "reference is not a tree" errors when retrying a workflow: actions/checkout#23 (comment)
1 parent 89bfc6c commit d9173c6

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

.github/workflows/cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
env:
3131
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode_version }}.app
3232
steps:
33-
- uses: actions/checkout@v1
33+
- uses: actions/checkout@v2
3434
- run: brew install cmake ninja
3535
- run: swift -version
3636
- run: cmake -B build -G Ninja -S . -DCMAKE_BUILD_TYPE=Release

.github/workflows/jazzy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
container:
2828
image: norionomura/jazzy:0.13.2_swift-5.2.1
2929
steps:
30-
- uses: actions/checkout@v1
30+
- uses: actions/checkout@v2
3131
- run: bundle install --path vendor/bundle
3232
- run: swift build
3333
- name: Generate documentation json

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ jobs:
2929
container:
3030
image: norionomura/swift:nightly
3131
steps:
32-
- uses: actions/checkout@v1
32+
- uses: actions/checkout@v2
3333
- run: YAMS_DEFAULT_ENCODING=UTF16 swift test --parallel
3434
- run: YAMS_DEFAULT_ENCODING=UTF8 swift test --parallel

.github/workflows/pod_lib_lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
env:
2525
DEVELOPER_DIR: /Applications/Xcode_11.4.app
2626
steps:
27-
- uses: actions/checkout@v1
27+
- uses: actions/checkout@v2
2828
- run: bundle install --path vendor/bundle
2929
- run: bundle exec pod lib lint --verbose

.github/workflows/swiftlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
SwiftLint:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v1
14+
- uses: actions/checkout@v2
1515
- name: GitHub Action for SwiftLint
1616
uses: norio-nomura/[email protected]

.github/workflows/swiftlint_analyze.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
env:
2626
DEVELOPER_DIR: /Applications/Xcode_11.4.app
2727
steps:
28-
- uses: actions/checkout@v1
28+
- uses: actions/checkout@v2
2929
- name: Generate xcodebuild.log
3030
run: xcodebuild -scheme Yams -project Yams.xcodeproj clean build-for-testing > xcodebuild.log
3131
shell: bash

.github/workflows/swiftpm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
env:
3131
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode_version }}.app
3232
steps:
33-
- uses: actions/checkout@v1
33+
- uses: actions/checkout@v2
3434
- run: swift -version
3535
- run: YAMS_DEFAULT_ENCODING=UTF16 swift test --parallel
3636
- run: YAMS_DEFAULT_ENCODING=UTF8 swift test --parallel
@@ -43,6 +43,6 @@ jobs:
4343
container:
4444
image: swift:${{ matrix.tag }}
4545
steps:
46-
- uses: actions/checkout@v1
46+
- uses: actions/checkout@v2
4747
- run: YAMS_DEFAULT_ENCODING=UTF16 swift test --parallel
4848
- run: YAMS_DEFAULT_ENCODING=UTF8 swift test --parallel

.github/workflows/xcodebuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
env:
4242
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode.version }}.app
4343
steps:
44-
- uses: actions/checkout@v1
44+
- uses: actions/checkout@v2
4545
- run: xcodebuild -version
4646
- name: macOS with UTF16
4747
if: always()

0 commit comments

Comments
 (0)