run: yarn install
- name: Lint CSS and SCSS files
- run: npx stylelint "app/assets/stylesheets/**/*.css"
\ No newline at end of file
+ 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
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")