Bump the bundler group across 1 directory with 5 updates #1036
Workflow file for this run
This file contains hidden or 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: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| env: | |
| RAILS_ENV: test | |
| SHIPYRD_DATABASE_URL: mysql2://root:[email protected]:3306/shipyrd_test | |
| SHIPYRD_SECRET_KEY_BASE: 823676323609aa7429ad867c12e77d1a4e2af30c764d51ad9db913efa4cf27742cc654fcfe7d9031d2d46c4be57f93bce05b9f81aefa65fad58999c0c2aaba71 | |
| SHIPYRD_ENCRYPTION_PRIMARY_KEY: 823676323609aa7429ad867c12e77d1a4e2af3 | |
| SHIPYRD_ENCRYPTION_DETERMINISTIC_KEY: 823676323609aa7429ad867c12e77d1a4e2af3 | |
| SHIPYRD_ENCRYPTION_KEY_DERIVATION_SALT: 823676323609aa7429ad867c12e77d1a4e2af3 | |
| services: | |
| mysql: | |
| image: mysql:8 | |
| env: | |
| MYSQL_DATABASE: shipyrd_test | |
| MYSQL_ROOT_PASSWORD: root | |
| ports: | |
| - 3306:3306 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1.310.0 | |
| with: | |
| bundler-cache: true | |
| - name: Install mysql client | |
| run: sudo apt-get update && sudo apt-get install -y mysql-client | |
| - run: bundle exec rails db:prepare | |
| - run: bundle exec rails test | |
| - run: bundle exec rails test:system | |
| standardrb: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1.310.0 | |
| with: | |
| bundler-cache: true | |
| - run: bundle exec standardrb | |
| brakeman: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1.310.0 | |
| with: | |
| bundler-cache: true | |
| - run: bundle exec brakeman |