Skip to content

Update command tests to not require git repo #402

Update command tests to not require git repo

Update command tests to not require git repo #402

Workflow file for this run

# rubocop action doesn't work yet:
# https://github.com/gimenete/rubocop-action/issues/12
name: Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
rubocop:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
- name: install deps
run: bundle install
- name: Run rubocop
run: bundle exec rubocop --display-cop-names
# rubocop:
# runs-on: ubuntu-latest
# steps:
# - name: checkout
# uses: actions/checkout@v2
# - name: Rubocop checks
# uses: gimenete/rubocop-action@1.0
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
markdownlint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: MarkdownLint mdl Action
uses: actionshub/markdownlint@1.2.0