mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47:14 +00:00
Adds @bundle audit check --update@ to lints (#30069).
git-svn-id: https://svn.redmine.org/redmine/trunk@23291 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
bb06d7e39f
commit
d860084e28
18
.github/workflows/linters.yml
vendored
18
.github/workflows/linters.yml
vendored
@ -36,4 +36,20 @@ jobs:
|
||||
run: yarn install
|
||||
|
||||
- name: Lint CSS and SCSS files
|
||||
run: npx stylelint "app/assets/stylesheets/**/*.css"
|
||||
run: npx stylelint "app/assets/stylesheets/**/*.css"
|
||||
|
||||
bundle-audit:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.2'
|
||||
bundler-cache: true
|
||||
|
||||
- name: Run bundle-audit
|
||||
run: bundle exec bundle audit check --update
|
||||
|
||||
1
Gemfile
1
Gemfile
@ -113,6 +113,7 @@ group :test do
|
||||
gem 'rubocop', '~> 1.68.0', require: false
|
||||
gem 'rubocop-performance', '~> 1.23.0', require: false
|
||||
gem 'rubocop-rails', '~> 2.27.0', require: false
|
||||
gem 'bundle-audit', require: false
|
||||
end
|
||||
|
||||
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user