Skip to content

Commit

Permalink
Add initial ci build files
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonodoom committed Jul 30, 2023
1 parent 996c0e9 commit 3035fd9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
docker compose up -d
- name: Wait for the database to be ready
run: sleep 30s
run: sleep 60s

- name: Curl web page
working-directory: ./
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@ on:
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Ruby and gems
uses: ruby/[email protected]
- uses: actions/checkout@v3
- uses: ruby/[email protected]
with:
bundler-cache: true
ruby-version: '3.2.2'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Security audit dependencies
run: bin/bundler-audit --update

- name: Security audit application code
run: bin/brakeman -q -w2

- name: Lint Ruby files
run: bin/rubocop --parallel

0 comments on commit 3035fd9

Please sign in to comment.