Skip to content

Commit 3f9530c

Browse files
authored
Create checks.yml
1 parent ff8b71d commit 3f9530c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/checks.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Checks
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
env:
10+
RUBY_VERSION: 3.0
11+
SIMPLECOV_THRESHOLD: 100
12+
13+
jobs:
14+
tests:
15+
permissions: write-all
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Set up Ruby
20+
uses: ruby/setup-ruby@v1
21+
with:
22+
ruby-version: ${{ env.RUBY_VERSION }}
23+
- name: Install dependencies
24+
run: bundle install
25+
- name: Run tests
26+
run: bundle exec rake test
27+
with:
28+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)