use custom image
This commit is contained in:
parent
ec6bd49243
commit
cf162dcd7d
1 changed files with 3 additions and 11 deletions
|
|
@ -3,28 +3,20 @@ jobs:
|
|||
test:
|
||||
runs-on: docker
|
||||
name: Text
|
||||
container: code.hohl.cloud/a11yist:ci
|
||||
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
|
||||
uses: actions/cache@v4
|
||||
id: cache-repository
|
||||
with:
|
||||
path: repository
|
||||
path: .
|
||||
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
|
||||
path: .
|
||||
submodules: recursive
|
||||
- run: cd repository
|
||||
- run: bundle install
|
||||
- run: bundle exec rails test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue