Try out gitea actions

This commit is contained in:
Andrew Tomaka 2024-03-20 18:50:43 -04:00
parent 329f6537e7
commit 87b5350f1f
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
2 changed files with 25 additions and 86 deletions

View file

@ -0,0 +1,25 @@
name: Ruby CI
on:
pull_request:
jobs:
test:
steps:
- uses: actions/checkout@v4
- name: Set up Ruby 3.2.0
uses: ruby/setup-ruby
with:
ruby-version: 3.2.0
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake
- name: autoload
run: bin/rails zeitwerk:check
- name: lint
run: bin/bundle exec standardrb
- name: test
run: |
bin/rails assets:precompile
bin/rails test