File tree Expand file tree Collapse file tree 6 files changed +107
-25
lines changed Expand file tree Collapse file tree 6 files changed +107
-25
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+
6+ jobs :
7+ lint :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout code
11+ uses : actions/checkout@v4
12+
13+ - name : Set up Ruby
14+ uses : ruby/setup-ruby@v1
15+ with :
16+ ruby-version : .ruby-version
17+ bundler-cache : true
18+
19+ - name : Lint code for consistent style
20+ run : bundle exec rubocop -f github
21+
22+ yard :
23+ runs-on : ubuntu-latest
24+ steps :
25+ - name : Checkout code
26+ uses : actions/checkout@v4
27+
28+ - name : Set up Ruby
29+ uses : ruby/setup-ruby@v1
30+ with :
31+ ruby-version : .ruby-version
32+ bundler-cache : true
33+
34+ - name : Generate YARD documentation
35+ run : bundle exec rake yard
36+
37+ test :
38+ runs-on : ubuntu-latest
39+ strategy :
40+ matrix :
41+ ruby-version : ['3.2', '3.3']
42+
43+ steps :
44+ - name : Checkout code
45+ uses : actions/checkout@v4
46+
47+ - name : Set up Ruby
48+ uses : ruby/setup-ruby@v1
49+ with :
50+ ruby-version : ${{ matrix.ruby-version }}
51+ bundler-cache : true
52+
53+ - name : Run tests
54+ run : bundle exec rake test
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+
7+ permissions :
8+ contents : write
9+ id-token : write
10+ pull-requests : write
11+
12+ jobs :
13+ release :
14+ runs-on : ubuntu-latest
15+ steps :
16+
17+ # # Here's the new step for release-please
18+ - uses : googleapis/release-please-action@v4
19+ id : release
20+ with :
21+ token : ${{ secrets.AUTO_RELEASE_TOKEN }}
22+
23+ - uses : actions/checkout@v4
24+ if : ${{ steps.release.outputs.release_created }}
25+
26+ - name : Set up Ruby
27+ uses : ruby/setup-ruby@v1
28+ if : ${{ steps.release.outputs.release_created }}
29+ with :
30+ bundler-cache : true
31+ ruby-version : .ruby-version
32+
33+ - uses : rubygems/release-gem@v1
34+ if : ${{ steps.release.outputs.release_created }}
Original file line number Diff line number Diff line change 1+ {
2+ "." : " 0.7.3"
3+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33module Bullion
4- VERSION = [
5- 0 , # major
6- 7 , # minor
7- 3 # patch
8- ] . join ( "." )
4+ VERSION = "0.7.3"
95end
Original file line number Diff line number Diff line change 1+ {
2+ "bootstrap-sha" : " e9c5861bb935613ced5a908487a122f9b4136de9" ,
3+ "last-release-sha" : " e9c5861bb935613ced5a908487a122f9b4136de9" ,
4+ "packages" : {
5+ "." : {
6+ "package-name" : " bullion" ,
7+ "changelog-path" : " CHANGELOG.md" ,
8+ "release-type" : " ruby" ,
9+ "bump-minor-pre-major" : true ,
10+ "bump-patch-for-minor-pre-major" : true ,
11+ "version-file" : " lib/bullion/version.rb"
12+ }
13+ },
14+ "$schema" : " https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
15+ }
You can’t perform that action at this time.
0 commit comments