-
Notifications
You must be signed in to change notification settings - Fork 133
34 lines (29 loc) · 784 Bytes
/
ruby.yml
File metadata and controls
34 lines (29 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Ruby
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.7.1
uses: actions/setup-ruby@v1
with:
ruby-version: 2.7.x
- name: Build and test with Rake
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- uses: actions/checkout@master
- name: Commit files
run: |
git config --global user.email "you@example.com"
git config --global user.name "Github action"
git commit -m "Github action to update bundle" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}