Bump good_job from 3.15.14 to 3.16.2 #2581
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# License: LGPL-3.0-or-later | |
name: Ruby test and build | |
on: | |
pull_request: | |
paths-ignore: | |
- "**.[jt]sx?" | |
- "**.md" | |
- "**.md" | |
- "NOTICE-js" | |
- "NOTICE-ruby" | |
- "package.json" | |
- "yarn.lock" | |
types: [opened, reopened, synchronize] | |
jobs: | |
package-download: # this downloads and caches all of the packages. That way if a future job fails, the caching will still occur | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
node: [14.19.1] | |
ruby: [2.7.6] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
main_build: | |
needs: package-download | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
node: [14.19.1] | |
ruby: [2.7.6] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PostgreSQL with PostgreSQL extensions and unprivileged user | |
uses: Daniel-Marynicz/[email protected] | |
with: | |
postgres_image_tag: 12-alpine | |
postgres_user: houdini_user | |
postgres_password: password | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: install bess dependencies | |
run: | | |
cd gems/bess | |
bundle install --jobs 3 --retry 3 | |
- name: run spec for bess | |
run: | | |
cd gems/bess | |
bundle exec rake spec | |
- run: bin/setup ci | |
- name: Generate JS routes | |
run: bin/rails js:routes:typescript | |
- name: run spec | |
run: bundle exec rake spec | |
- name: run assets:precompile | |
run: bin/rails assets:precompile | |