Skip to content

Commit

Permalink
32 added basic check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrisoxide committed Dec 12, 2024
1 parent 4b5e1f0 commit f9c4ef9
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: check
on: [push]

jobs:
linters:
name: Linters
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Ruby and install gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: false

- name: Install dependencies
run: |
bundle install
- name: Run linters
run: |
bundle exec rubocop
- name: Run security checks
run: |
bundle exec bundler-audit --update
bundle exec rubocop
bundle exec brakeman --quiet
./bin/importmap audit

0 comments on commit f9c4ef9

Please sign in to comment.