File tree Expand file tree Collapse file tree 3 files changed +5
-60
lines changed
Expand file tree Collapse file tree 3 files changed +5
-60
lines changed Original file line number Diff line number Diff line change 66 types : [completed]
77 branches : [main]
88jobs :
9- deploy :
10- runs-on : ubuntu-latest
11- if : ${{ github.event.workflow_run.conclusion == 'success' }}
12- steps :
13- - uses : actions/checkout@v3
14- - name : Tag and Push Gem
15- id : tag-and-push-gem
16- uses : discourse/publish-rubygems-action@v2
17- env :
18- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
19- GIT_EMAIL : ${{secrets.GUSTO_GIT_EMAIL}}
20- GIT_NAME : ${{secrets.GUSTO_GIT_NAME}}
21- RUBYGEMS_API_KEY : ${{secrets.RUBYGEMS_API_KEY}}
22- - name : Create GitHub Release
23- run : gh release create v${{steps.tag-and-push-gem.outputs.gem_version}} --generate-notes
24- if : ${{ steps.tag-and-push-gem.outputs.new_version == 'true' }}
25- env :
26- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9+ call-workflow-from-shared-config :
10+ uses : rubyatscale/shared-config/.github/workflows/cd.yml@main
Original file line number Diff line number Diff line change @@ -3,40 +3,5 @@ name: CI
33on : [push, pull_request]
44
55jobs :
6- rspec :
7- runs-on : ubuntu-latest
8- strategy :
9- matrix :
10- ruby :
11- - 2.7
12- # See comment comes from https://github.com/ruby/setup-ruby#matrix-of-ruby-versions
13- # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
14- - ' 3.0'
15- - 3.1
16- - 3.2
17- - 3.3
18- - head
19- env :
20- BUNDLE_GEMFILE : Gemfile
21- name : " RSpec tests: Ruby ${{ matrix.ruby }}"
22- steps :
23- - uses : actions/checkout@v4
24- - name : Set up Ruby ${{ matrix.ruby }}
25- uses : ruby/setup-ruby@v1
26- with :
27- bundler-cache : true
28- ruby-version : ${{ matrix.ruby }}
29- - name : Run tests
30- run : bundle exec rspec
31- static_type_check :
32- name : " Type Check"
33- runs-on : ubuntu-latest
34- steps :
35- - uses : actions/checkout@v4
36- - name : Set up Ruby
37- uses : ruby/setup-ruby@v1
38- with :
39- bundler-cache : true
40- ruby-version : head
41- - name : Run static type checks
42- run : bundle exec srb tc
6+ call-workflow-from-shared-config :
7+ uses : rubyatscale/shared-config/.github/workflows/ci.yml@main
Original file line number Diff line number Diff line change 6060 unicode-display_width (2.5.0 )
6161
6262PLATFORMS
63- arm64-darwin-20
64- arm64-darwin-21
65- arm64-darwin-22
66- arm64-darwin-23
67- x86_64-darwin-20
63+ universal-darwin
6864 x86_64-linux
6965
7066DEPENDENCIES
You can’t perform that action at this time.
0 commit comments