mirror of
https://github.com/Drop-OSS/libtailscale.git
synced 2026-01-30 20:55:18 +01:00
36 lines
607 B
YAML
36 lines
607 B
YAML
name: Ruby
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
name: Ruby ${{ matrix.ruby }}
|
|
strategy:
|
|
matrix:
|
|
ruby:
|
|
- '3.2.0'
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: "1.21"
|
|
|
|
- name: Set up Ruby
|
|
uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: ${{ matrix.ruby }}
|
|
bundler-cache: true
|
|
working-directory: ruby
|
|
- name: Run build & test
|
|
run: |
|
|
cd ruby
|
|
bundle exec rake build test |