Skip to content

Bump braces from 3.0.2 to 3.0.3 #268

Bump braces from 3.0.2 to 3.0.3

Bump braces from 3.0.2 to 3.0.3 #268

---
name: 'Code Style Review'
on:
pull_request:
branches:
- 'master'
paths-ignore:
- 'doc/**'
- '**.md'
jobs:
lint:
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Set up Ruby'
uses: ruby/setup-ruby@v1 # Uses .ruby-version || .tool-versions by default
- name: 'Set up Reviewdog'
env:
REVIEWDOG_INSTALLER: 'https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh'
run: |
mkdir -p $HOME/bin
curl -sfL ${REVIEWDOG_INSTALLER} | sh -s -- -b $HOME/bin
- name: 'Set up Rubocop'
run: 'gem install rubocop rubocop-minitest rubocop-performance rubocop-rails'
- name: 'Run Rubocop'
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
rubocop |
$HOME/bin/reviewdog \
-f=rubocop \
-name="Rubocop" \
-reporter=github-pr-review \
-level=error \
-diff="git diff $DIFF_BRANCH"
- name: 'Set up Haml-lint'
run: 'gem install haml-lint'
- name: 'Run Haml-lint'
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
haml-lint |
$HOME/bin/reviewdog \
-efm="%f:%l %m" \
-name="Haml-lint" \
-reporter=github-pr-review \
-level=error \
-diff="git diff $DIFF_BRANCH"
...

Check failure on line 59 in .github/workflows/code-style-review.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/code-style-review.yaml

Invalid workflow file

You have an error in your yaml syntax on line 59