mirror of
https://github.com/github/choosealicense.com
synced 2025-01-05 11:32:01 +01:00
23 lines
345 B
YAML
23 lines
345 B
YAML
|
name: Build and Test
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
|
||
|
- name: Set up Ruby
|
||
|
uses: ruby/setup-ruby@v1
|
||
|
with:
|
||
|
ruby-version: 2.7.1
|
||
|
|
||
|
- name: Install dependencies
|
||
|
run: ./script/bootstrap
|
||
|
|
||
|
- name: Run tests
|
||
|
run: ./script/cibuild
|