1919jobs :
2020 integration :
2121 name : ' integration - ${{matrix.name}}'
22- runs-on : ubuntu-latest
22+ runs-on : ubuntu-20.04
2323 strategy :
2424 fail-fast : false
25+ max-parallel : 1
2526 matrix :
2627 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
2829 - ruby : ' 2.7'
2930 name : ' centos7-stable'
3031 distro : ' centos-7'
6263 ST2_REPO : ' ${{ matrix.repo }}'
6364 steps :
6465 - name : Checkout repository
65- uses : actions/checkout@v2
66+ uses : actions/checkout@v3
6667 - name : Setup Ruby
67- uses : actions /setup-ruby@v1
68+ uses : ruby /setup-ruby@v1
6869 with :
6970 ruby-version : ' ${{ matrix.ruby }}'
7071 - name : Bundle prep
8586 bundle config gemfile build/kitchen/Gemfile
8687 bundle lock
8788 # restore cache AFTER doing 'bundle lock' so that Gemfile.lock exists
88- - uses : actions/cache@v2
89+ - uses : actions/cache@v3
8990 with :
9091 # note: this path is the Gemfile + path from above, so it's different than the base level Gemfile cache
9192 path : build/kitchen/vendor/bundle
9495 ${{ runner.os }}-${{ matrix.name }}-${{ matrix.ruby }}-gems-integration-v3-
9596 - name : Bundle install
9697 run : |
97- bundle install --jobs $(nproc) --retry 3
98+ bundle install --jobs $(nproc) --retry 3
9899 - name : Test
99100 run : |
100101 echo "Run the Smoke Tests"
@@ -107,11 +108,11 @@ jobs:
107108 if : always()
108109 needs :
109110 - integration
110- runs-on : ubuntu-latest
111+ runs-on : ubuntu-20.04
111112 steps :
112113 - name : Workflow conclusion
113114 # 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
115116 - name : CI Run Failure Slack Notification
116117 if : ${{ env.WORKFLOW_CONCLUSION == 'failure' && github.ref == 'refs/heads/master' }}
117118 env :
0 commit comments