-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add CI workflow * Fix some task names * Change job name * Fix rake command * Further update job name for clarity * Add color * Remove tty * Remove Travis CI config --------- Co-authored-by: Matthew Thornton <[email protected]>
- Loading branch information
1 parent
98b1f9f
commit 42a98dd
Showing
2 changed files
with
36 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Specs, linting, and security checks | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
|
||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
FORCE_COLOR: "1" | ||
|
||
jobs: | ||
rspec_rubocop_bundle-audit: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
bundler-cache: true | ||
|
||
- name: Build dependencies | ||
run: bundle exec rake tests:prepare | ||
|
||
- name: Run tests | ||
run: bundle exec rake spec | ||
|
||
- name: Run security checks | ||
run: bundle exec rake security | ||
|
||
- name: Run linter | ||
run: bundle exec rake rubocop |
This file was deleted.
Oops, something went wrong.