Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update and upgrade deprecated actions #323

Merged
merged 3 commits into from
Dec 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ on:
jobs:
integration:
name: 'integration - ${{matrix.name}}'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
max-parallel: 1
mamercad marked this conversation as resolved.
Show resolved Hide resolved
matrix:
include:
# note: actions/setup-ruby only allows using a major.minor release of ruby
# note: ruby/setup-ruby only allows using a major.minor release of ruby
- ruby: '2.7'
name: 'centos7-stable'
distro: 'centos-7'
Expand Down Expand Up @@ -62,9 +63,9 @@ jobs:
ST2_REPO: '${{ matrix.repo }}'
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: '${{ matrix.ruby }}'
- name: Bundle prep
Expand All @@ -85,7 +86,7 @@ jobs:
bundle config gemfile build/kitchen/Gemfile
bundle lock
# restore cache AFTER doing 'bundle lock' so that Gemfile.lock exists
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
# note: this path is the Gemfile + path from above, so it's different than the base level Gemfile cache
path: build/kitchen/vendor/bundle
Expand All @@ -94,7 +95,7 @@ jobs:
${{ runner.os }}-${{ matrix.name }}-${{ matrix.ruby }}-gems-integration-v3-
- name: Bundle install
run: |
bundle install --jobs $(nproc) --retry 3
bundle install --jobs $(nproc) --retry 3
- name: Test
run: |
echo "Run the Smoke Tests"
Expand All @@ -107,11 +108,11 @@ jobs:
if: always()
needs:
- integration
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Workflow conclusion
# this step creates an environment variable WORKFLOW_CONCLUSION and is the most reliable way to check the status of previous jobs
uses: technote-space/workflow-conclusion-action@v2
uses: technote-space/workflow-conclusion-action@v3
- name: CI Run Failure Slack Notification
if: ${{ env.WORKFLOW_CONCLUSION == 'failure' && github.ref == 'refs/heads/master' }}
env:
Expand Down