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