forked from WizardComputer/action-erblint
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (27 loc) · 781 Bytes
/
ci.yml
File metadata and controls
27 lines (27 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: CI
on: [pull_request]
jobs:
test-skip-install-and-use-bundler:
name: runner / erb_lint
runs-on: ubuntu-latest
defaults:
run:
working-directory: test/using_bundler
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/test/using_bundler/Gemfile
steps:
- uses: actions/checkout@v6
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.4
bundler-cache: true
- name: erb_lint with skip install and using bundler
uses: ./
with:
github_token: ${{ secrets.github_token }}
skip_install: 'true'
use_bundler: 'true'
reporter: github-pr-annotations
fail_level: warning
- run: |
test "$(bundle exec erb_lint --version)" == "0.9.0"