Skip to content

Commit a497d85

Browse files
SWI-7167 - Replacing ubuntu-20.04 by ubuntu-24.04 on test-pr workflow (#157)
* SWI-7167 - Replacing ubuntu-20.04 by ubuntu-24.04 on test-pr workflow * SWI-7167 - Upgrading Bandwidth/build-notify-slack-action to v2 * SWI-7167 - Updating README.md * update template * update test --------- Co-authored-by: ckoegel <[email protected]>
1 parent ddacce8 commit a497d85

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
gem build *.gemspec
7070
gem push *.gem
7171
72-
- uses: Bandwidth/build-notify-slack-action@v1.0.0
72+
- uses: Bandwidth/build-notify-slack-action@v2
7373
if: always()
7474
with:
7575
job-status: ${{ job.status }}

.github/workflows/test-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
runs-on: ${{ matrix.os }}
3232
strategy:
3333
matrix:
34-
os: [windows-2022, windows-2019, ubuntu-20.04, ubuntu-22.04]
35-
ruby-version: ['3.0', 3.1, 3.2, 3.3]
34+
os: [windows-2019, windows-2022, ubuntu-22.04, ubuntu-24.04]
35+
ruby-version: ['3.0','3.1','3.2','3.3']
3636
fail-fast: false
3737
steps:
3838
- name: Checkout

.github/workflows/test-smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
runs-on: ubuntu-latest
8888
steps:
8989
- name: Notify Slack of Failures
90-
uses: Bandwidth/build-notify-slack-action@v2.0.0
90+
uses: Bandwidth/build-notify-slack-action@v2
9191
with:
9292
job-status: failure
9393
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
[![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop/rubocop)
66

77

8-
| **OS** | **Ruby** |
9-
|:---:|:---:|
10-
| Windows 2019 | 2.7, 3.0, 3.1, 3.2, 3.3 |
11-
| Windows 2022 | 2.7, 3.0, 3.1, 3.2, 3.3 |
12-
| Ubuntu 20.04 | 2.7, 3.0, 3.1, 3.2, 3.3 |
13-
| Ubuntu 22.04 | 2.7, 3.0, 3.1, 3.2, 3.3 |
8+
| **OS** | **Ruby** |
9+
|:------------:|:------------------:|
10+
| Windows 2019 | 3.0, 3.1, 3.2, 3.3 |
11+
| Windows 2022 | 3.0, 3.1, 3.2, 3.3 |
12+
| Ubuntu 22.04 | 3.0, 3.1, 3.2, 3.3 |
13+
| Ubuntu 24.04 | 3.0, 3.1, 3.2, 3.3 |
1414

1515
Bandwidth - the Ruby gem for the Bandwidth SDK
1616

custom_templates/README.mustache

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
[![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop/rubocop)
66

77

8-
| **OS** | **Ruby** |
9-
|:---:|:---:|
10-
| Windows 2019 | 2.7, 3.0, 3.1, 3.2, 3.3 |
11-
| Windows 2022 | 2.7, 3.0, 3.1, 3.2, 3.3 |
12-
| Ubuntu 20.04 | 2.7, 3.0, 3.1, 3.2, 3.3 |
13-
| Ubuntu 22.04 | 2.7, 3.0, 3.1, 3.2, 3.3 |
8+
| **OS** | **Ruby** |
9+
|:------------:|:------------------:|
10+
| Windows 2019 | 3.0, 3.1, 3.2, 3.3 |
11+
| Windows 2022 | 3.0, 3.1, 3.2, 3.3 |
12+
| Ubuntu 22.04 | 3.0, 3.1, 3.2, 3.3 |
13+
| Ubuntu 24.04 | 3.0, 3.1, 3.2, 3.3 |
1414

1515
{{moduleName}} - the Ruby gem for the {{appName}} SDK
1616

spec/unit/client/api_client_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
response = double('response', headers: headers, body: '{id 1}')
222222
expect {
223223
api_client_default.deserialize(response, 'Hash<String, Integer>')
224-
}.to raise_error(JSON::ParserError, 'unexpected token at \'{id 1}]\'')
224+
}.to raise_error(JSON::ParserError)
225225
end
226226

227227
it 'rescues invalid JSON when expecting non-JSON' do

0 commit comments

Comments
 (0)