19
19
jobs :
20
20
integration :
21
21
name : ' integration - ${{matrix.name}}'
22
- runs-on : ubuntu-latest
22
+ runs-on : ubuntu-20.04
23
23
strategy :
24
24
fail-fast : false
25
+ max-parallel : 1
25
26
matrix :
26
27
include :
27
- # note: actions /setup-ruby only allows using a major.minor release of ruby
28
+ # note: ruby /setup-ruby only allows using a major.minor release of ruby
28
29
- ruby : ' 2.7'
29
30
name : ' centos7-stable'
30
31
distro : ' centos-7'
62
63
ST2_REPO : ' ${{ matrix.repo }}'
63
64
steps :
64
65
- name : Checkout repository
65
- uses : actions/checkout@v2
66
+ uses : actions/checkout@v3
66
67
- name : Setup Ruby
67
- uses : actions /setup-ruby@v1
68
+ uses : ruby /setup-ruby@v1
68
69
with :
69
70
ruby-version : ' ${{ matrix.ruby }}'
70
71
- name : Bundle prep
85
86
bundle config gemfile build/kitchen/Gemfile
86
87
bundle lock
87
88
# restore cache AFTER doing 'bundle lock' so that Gemfile.lock exists
88
- - uses : actions/cache@v2
89
+ - uses : actions/cache@v3
89
90
with :
90
91
# note: this path is the Gemfile + path from above, so it's different than the base level Gemfile cache
91
92
path : build/kitchen/vendor/bundle
94
95
${{ runner.os }}-${{ matrix.name }}-${{ matrix.ruby }}-gems-integration-v3-
95
96
- name : Bundle install
96
97
run : |
97
- bundle install --jobs $(nproc) --retry 3
98
+ bundle install --jobs $(nproc) --retry 3
98
99
- name : Test
99
100
run : |
100
101
echo "Run the Smoke Tests"
@@ -107,11 +108,11 @@ jobs:
107
108
if : always()
108
109
needs :
109
110
- integration
110
- runs-on : ubuntu-latest
111
+ runs-on : ubuntu-20.04
111
112
steps :
112
113
- name : Workflow conclusion
113
114
# this step creates an environment variable WORKFLOW_CONCLUSION and is the most reliable way to check the status of previous jobs
114
- uses : technote-space/workflow-conclusion-action@v2
115
+ uses : technote-space/workflow-conclusion-action@v3
115
116
- name : CI Run Failure Slack Notification
116
117
if : ${{ env.WORKFLOW_CONCLUSION == 'failure' && github.ref == 'refs/heads/master' }}
117
118
env :
0 commit comments