mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 21:00:10 +01:00
27 lines
399 B
YAML
27 lines
399 B
YAML
name: Build and Test
|
|
|
|
on:
|
|
push:
|
|
branches: [gh-pages]
|
|
pull_request:
|
|
branches: [gh-pages]
|
|
|
|
jobs:
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Set up Ruby
|
|
uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: 2.7.4
|
|
bundler-cache: true
|
|
|
|
- name: Run tests
|
|
run: ./script/cibuild
|