Skip to content

Commit c17e09a

Browse files
author
Lucas Nelaupe
authored
Update workflow (#398)
1 parent 96d46fb commit c17e09a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/swift.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
DANGER:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2.3.4
15+
- uses: actions/checkout@v3.0.0
1616
- name: Setup Ruby
17-
uses: ruby/setup-ruby@v1.71.0
17+
uses: ruby/setup-ruby@v1.99.0
1818
with:
1919
ruby-version: 2.7
2020
- name: Install blunder and install deps.
2121
run: |
2222
gem install bundler
23-
bundle install --jobs 4 --retry 3
23+
bundle install
2424
- name: Run danger
2525
run: |
2626
bundle exec danger
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: macOS-latest
3333

3434
steps:
35-
- uses: actions/checkout@v2.3.4
35+
- uses: actions/checkout@v3.0.0
3636
- name: Test
3737
run: swift test
3838

@@ -41,7 +41,7 @@ jobs:
4141
runs-on: macOS-latest
4242

4343
steps:
44-
- uses: actions/checkout@v2.3.4
44+
- uses: actions/checkout@v3.0.0
4545
- name: Lint
4646
run: pod lib lint
4747

@@ -50,24 +50,24 @@ jobs:
5050
runs-on: macOS-latest
5151

5252
steps:
53-
- uses: maxim-lobanov/setup-xcode@v1.2.3
53+
- uses: maxim-lobanov/setup-xcode@v1.4.1
5454
with:
5555
xcode-version: '11.7'
56-
- uses: actions/checkout@v2.3.4
57-
- uses: actions/[email protected].6
56+
- uses: actions/checkout@v3.0.0
57+
- uses: actions/[email protected].7
5858
id: carthage-cache
5959
with:
6060
path: Carthage
61-
key: carthage-${{ hashFiles('**/Cartfile.resolved') }}
61+
key: carthage-11-7-${{ hashFiles('**/Cartfile.resolved') }}
6262
- name: Checkout
6363
if: steps.carthage-cache.outputs.cache-hit != 'true'
6464
run: |
6565
carthage bootstrap --no-use-binaries --cache-builds
6666
- name: Build
67-
run: carthage build --no-skip-current --cache-builds;
67+
run: carthage build --no-skip-current --cache-builds
6868
- name: Archive
6969
run: carthage archive
70-
- uses: actions/upload-artifact@v2
70+
- uses: actions/upload-artifact@v3.0.0
7171
with:
7272
name: SwiftQueue
7373
path: SwiftQueue.framework.zip
@@ -77,19 +77,19 @@ jobs:
7777
runs-on: macOS-latest
7878

7979
steps:
80-
- uses: maxim-lobanov/setup-xcode@v1.2.3
80+
- uses: maxim-lobanov/setup-xcode@v1.4.1
8181
with:
8282
xcode-version: '11.7'
83-
- uses: actions/checkout@v2.3.4
84-
- uses: actions/[email protected].6
83+
- uses: actions/checkout@v3.0.0
84+
- uses: actions/[email protected].7
8585
id: carthage-cache
8686
with:
8787
path: Carthage
88-
key: carthage-${{ hashFiles('**/Cartfile.resolved') }}
88+
key: carthage-11-7-${{ hashFiles('**/Cartfile.resolved') }}
8989
- name: Checkout
9090
if: steps.carthage-cache.outputs.cache-hit != 'true'
9191
run: |
9292
carthage bootstrap --no-use-binaries --cache-builds
9393
- name: Build
9494
run: xcodebuild -project "SwiftQueue.xcodeproj" -scheme "SwiftQueue macOS" -destination "arch=x86_64" -configuration Debug ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test -enableCodeCoverage YES | xcpretty
95-
- uses: codecov/codecov-action@v1.5.0
95+
- uses: codecov/codecov-action@v2.1.0

0 commit comments

Comments
 (0)