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:
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue