File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # This workflow runs continuous CI across different versions of ruby on all branches and pull requests to develop.
2+
3+ name : CI
4+
5+ # Controls when the action will run.
6+ on :
7+ # Triggers the workflow on push or pull request events but only for the develop branch
8+ push :
9+ branches : [ '**' ]
10+ pull_request :
11+ branches : [ develop ]
12+
13+ # Allows you to run this workflow manually from the Actions tab
14+ workflow_dispatch :
15+
16+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+ jobs :
18+ # This workflow contains a single job called "build"
19+ tests :
20+ name : Ruby ${{ matrix.ruby }}
21+ if : " contains(github.event.commits[0].message, '[ci skip]') == false"
22+ runs-on : ubuntu-latest
23+ env :
24+ CI : true
25+ ALLOW_FAILURES : false # ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'jruby' }}
26+ strategy :
27+ fail-fast : false
28+ matrix :
29+ ruby :
30+ - 2.4
31+ - 2.5
32+ - 2.6
33+ - 2.7
34+ - ruby-head
35+ - jruby
36+ steps :
37+ - name : Clone repository
38+ uses : actions/checkout@v2
39+ - name : Set up Ruby
40+ uses : ruby/setup-ruby@v1
41+ with :
42+ ruby-version : ${{ matrix.ruby }}
43+ - name : Install dependencies
44+ run : bundle install --jobs 4 --retry 3
45+ - name : Run tests
46+ run : bundle exec rspec spec || $ALLOW_FAILURES
47+
Original file line number Diff line number Diff line change 1+ # See: https://github.com/artob/gitstamp-action
2+ ---
3+ name : Gitstamp
4+ on :
5+ push :
6+ branches :
7+ - develop
8+ jobs :
9+ gitstamp :
10+ runs-on : ubuntu-latest
11+ name : Timestamp commit with Gitstamp
12+ steps :
13+ - name : Clone repository
14+ uses : actions/checkout@v2
15+ - name : Submit Gitstamp transaction
16+ uses : artob/gitstamp-action@v1
17+ with :
18+ wallet-key : ${{ secrets.GITSTAMP_KEYFILE }}
19+ commit-link : true
You can’t perform that action at this time.
0 commit comments