28 lines
770 B
YAML
28 lines
770 B
YAML
on: [push]
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
container: ruby:3.3.4
|
|
name: Text
|
|
steps:
|
|
# - name: Cache repository
|
|
# uses: actions/cache@v4
|
|
# id: cache-repository
|
|
# with:
|
|
# path: repository
|
|
# key: ${{ runner.os }}-repository-${{ github.sha }}
|
|
# restore-keys: |
|
|
# ${{ runner.os }}-repository-
|
|
# - name: Cache bundle
|
|
# uses: actions/cache@v4
|
|
# id: cache-bundle
|
|
# with:
|
|
# path: /usr/local/bundle
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
path: repository
|
|
submodules: recursive
|
|
- run: cd repository
|
|
- run: bundle install
|
|
- run: bundle exec rails test
|