Skip to content

Commit cdf0566

Browse files
authored
CI fixes and configuration (#2)
* fix: specified correct ruby version * fix: correct branch name
1 parent 6043579 commit cdf0566

File tree

2 files changed

+7
-31
lines changed

2 files changed

+7
-31
lines changed

.github/workflows/CI.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: CI
22
on:
3-
push:
43
pull_request:
4+
push:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
unit-openapi-ruby-sdk:
@@ -12,13 +12,16 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
1414
with:
15-
ruby-version: "3.3.6"
15+
ruby-version: "3.1"
1616

1717
- name: Install dependencies
18-
uses: gradle/gradle-build-action@v2
18+
run: bundle install
1919

2020
- name: Execute tests
2121
run: bundle exec rspec
22+
env:
23+
UNIT_TOKEN: ${{ secrets.UNIT_TOKEN }}
24+
TEST_PLAID_TOKEN: ${{ secrets.TEST_PLAID_TOKEN }}
2225

2326
- name: Execute Rake build
2427
run: bundle exec rake build

.github/workflows/publish-gem.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)