Bump json from 2.8.1 to 2.8.2 (#1703) #3113
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
name: RSpec | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: "0 21 * * 6" | |
permissions: | |
contents: read | |
env: | |
POSTGRES_HOST_AUTH_METHOD: "trust" | |
POSTGRES_USER: "runner" | |
POSTGRES_DB: "evemonk_test" | |
PGHOST: "localhost" | |
SECRET_KEY_BASE: "919650e468e29e897a53ef239b6e0228f8b71ec6ed353b691d140945e98d0c6a63731811afc27b61b9094523740962499afabc6d7ad0c872f1d5b62472083a08" | |
CI: "yes" | |
BOOTSNAP_LOG: "true" | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: "postgres:17.0" | |
env: | |
POSTGRES_HOST_AUTH_METHOD: "trust" | |
POSTGRES_USER: "runner" | |
POSTGRES_DB: "evemonk_test" | |
ports: | |
- "5432:5432" | |
# needed because the postgres container does not provide a healthcheck | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0 | |
with: | |
rubygems: latest | |
bundler: latest | |
bundler-cache: true | |
- run: bundle exec bootsnap precompile --gemfile app/ lib/ config/ Rakefile | |
- run: bin/rails zeitwerk:check | |
- run: bin/rails db:create | |
- run: bin/rails db:migrate | |
- run: bin/rspec --force-color --profile --format documentation |