Skip to content

Cleaned up yaml.

Cleaned up yaml. #11

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: Ruby
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
container:
image: redhat/ubi8
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
run: dnf -y update && dnf -y install ruby python3 python3-pip && pip3 install --user yamllint
- name: Run tests
run: ruby -c bin/*.rb
- name: Yaml Check
run: $HOME/.local/bin/yamllint config/*.yml