Try out gitea actions #13
1 changed files with 9 additions and 1 deletions
|
@ -17,8 +17,16 @@ jobs:
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: vendor/bundle
|
||||||
|
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-gems-
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bundle install
|
run: |
|
||||||
|
bundle config path vendor/bundle
|
||||||
|
bundle install --jobs 4 --retry 3
|
||||||
- name: autoload
|
- name: autoload
|
||||||
run: bin/rails zeitwerk:check
|
run: bin/rails zeitwerk:check
|
||||||
- name: lint
|
- name: lint
|
||||||
|
|
Loading…
Reference in a new issue