List on Artifacthub: add initial artifacthub-repo.yml to claim repository ownership #38
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yamllint --format github .github/workflows/test.yml | |
--- | |
name: test | |
on: | |
# We run tests on non-tagged pushes to master | |
push: | |
tags: '' | |
branches: master | |
paths-ignore: '**/*.md' | |
# We also run tests on pull requests targeted at the master branch. | |
pull_request: | |
branches: master | |
paths-ignore: '**/*.md' | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 # newest available distribution, aka focal | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 # full history is not needed | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '2.7' | |
# Match build-bin/configure_test | |
rubygems: '3.4.22' | |
bundler: '2.4.22' | |
bundler-cache: true | |
- name: Test | |
run: build-bin/test |