forked from mislav/hub
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (37 loc) · 1016 Bytes
/
ci.yml
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
41
42
43
44
45
46
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: ["1.11", "1.12", "1.13", "1.14"]
steps:
- uses: actions/checkout@v1
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
- name: Cache gems
uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
- name: Bundle install
run: |
bundle install --path vendor/bundle
bundle binstub cucumber --path bin
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
# - name: Install system packages
# if: runner.os == 'Linux'
# run: sudo apt-get install -y zsh fish
- name: Run tests
run: make test-all
env:
CI: true