-
Notifications
You must be signed in to change notification settings - Fork 7
40 lines (32 loc) · 849 Bytes
/
Copy pathci.yml
File metadata and controls
40 lines (32 loc) · 849 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
35
36
37
38
39
40
name: CI
on: push
jobs:
rspec:
name: RSpec
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.0.0
bundler-cache: true
- name: Configure Git
run: |
git config --global user.email "tester@example.com"
git config --global user.name "Sally Tester"
- name: Run RSpec
run: bundle exec rspec
shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install ShellCheck
run: |
sudo apt-get update -y
sudo apt-get install -y shellcheck
- name: Run ShellCheck
run: "find bin -type f -exec shellcheck {} +"