Skip to content

Update command tests to not require git repo (#162) #404

Update command tests to not require git repo (#162)

Update command tests to not require git repo (#162) #404

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/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
markdownlint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: MarkdownLint mdl Action
uses: actionshub/[email protected]