New feature: feature prefixes #304
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
# 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 | |
matrix: | |
# don't really need to do linting on multiple versions of ruby | |
ruby: [3.1.1] | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Setup ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- 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@v2 | |
- name: MarkdownLint mdl Action | |
uses: actionshub/markdownlint@1.2.0 |