Skip to content

Merge pull request #6 from cobbler/feature/define-supported-oses #103

Merge pull request #6 from cobbler/feature/define-supported-oses

Merge pull request #6 from cobbler/feature/define-supported-oses #103

Workflow file for this run

# -*- coding: utf-8 -*-
# vim: ft=yaml
---
name: Lint
on: # yamllint disable-line rule:truthy
pull_request: null
push:
branches:
- main
jobs:
commit-lint:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v1
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
# runs 'bundle install' and caches installed gems automatically:
bundler-cache: true
- name: Run Rubocop
run: bundle exec rubocop --format github
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]