use custom image
Some checks failed
/ Text (push) Failing after 0s
/ Checkout (push) Successful in 11s

This commit is contained in:
david 2024-07-22 23:04:02 +02:00
parent ec6bd49243
commit cf162dcd7d

View file

@ -3,28 +3,20 @@ jobs:
test: test:
runs-on: docker runs-on: docker
name: Text name: Text
container: code.hohl.cloud/a11yist:ci
steps: steps:
- uses: https://github.com/ruby/setup-ruby@v1
with:
ruby-version: '3.3.4' # Not needed with a .ruby-version file
- name: Cache repository - name: Cache repository
uses: actions/cache@v4 uses: actions/cache@v4
id: cache-repository id: cache-repository
with: with:
path: repository path: .
key: ${{ runner.os }}-repository-${{ github.sha }} key: ${{ runner.os }}-repository-${{ github.sha }}
restore-keys: | restore-keys: |
${{ runner.os }}-repository- ${{ runner.os }}-repository-
- name: Cache bundle
uses: actions/cache@v4
id: cache-bundle
with:
path: /usr/local/bundle
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
path: repository path: .
submodules: recursive submodules: recursive
- run: cd repository
- run: bundle install - run: bundle install
- run: bundle exec rails test - run: bundle exec rails test