This commit is contained in:
Mislav Marohnić 2022-03-25 16:07:02 +01:00
Родитель eeb5c2c612
Коммит bade9d2bf9
2 изменённых файлов: 9 добавлений и 27 удалений

32
.github/workflows/ci.yml поставляемый
Просмотреть файл

@ -5,40 +5,22 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: ["1.11", "1.12", "1.13", "1.14"]
env:
BUNDLE_BIN: bin
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.x
- name: Cache gems
uses: actions/cache@v2
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
ruby-version: "2.6"
bundler-cache: true
- name: Set up Go
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
# - name: Install system packages
# if: runner.os == 'Linux'
# run: sudo apt-get install -y zsh fish
go-version: "1.18"
- name: Run tests
run: make test-all

4
.github/workflows/release.yml поставляемый
Просмотреть файл

@ -12,9 +12,9 @@ jobs:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: "1.13"
go-version: "1.18"
- name: Publish release script
run: script/publish-release