Skip to content

Commit

Permalink
Add yamllint to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiemccarthy committed Jan 15, 2024
1 parent afba3e2 commit c62cd5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
- name: Build
run: docker compose --progress=plain build --build-arg ruby_version=${{ matrix.ruby-version }} --build-arg activerecord_version=${{ matrix.activerecord-version }}

- name: Run yamllint
run: docker compose run --rm --no-deps app yamllint compose.yaml .standard.yml spec/internal/config/storage.yml spec/internal/config/database.yml .github/workflows/ci.yml .rubocop.yml

- name: Run standardrb
run: docker compose run --rm --no-deps app bundle exec standardrb

Expand Down
1 change: 1 addition & 0 deletions unreliable.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ Gem::Specification.new do |s|
s.add_development_dependency "rspec", "~> 3.0"
s.add_development_dependency "sqlite3", ((RUBY_VERSION >= "3.2") ? "~> 1.6.9" : "~> 1.5.4")
s.add_development_dependency "standard", "~> 1.17"
s.add_development_dependency "yamllint", "~> 0.0.9"
end

0 comments on commit c62cd5c

Please sign in to comment.