[dependabot:actions] bump the regular-updates group across 1 directory with 2 updates #407
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: Lint and test | |
| on: | |
| pull_request: | |
| types: ["opened", "synchronize"] | |
| jobs: | |
| lint: | |
| runs-on: runs-on | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 | |
| - name: "Setup ruby" | |
| uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b | |
| with: | |
| bundler-cache: true | |
| - name: "Ruby lint" | |
| run: bundle exec rubocop --format progress --format github | |
| - name: "Python lint" | |
| uses: chartboost/ruff-action@e18ae971ccee1b2d7bbef113930f00c670b78da4 | |
| with: | |
| src: "./cdk" | |
| test: | |
| runs-on: runs-on | |
| needs: lint | |
| services: | |
| db: | |
| image: postgis/postgis:16-3.4 | |
| env: | |
| POSTGRES_DB: local_office_search_api_testing | |
| POSTGRES_USER: local_office_search_api | |
| POSTGRES_PASSWORD: testing | |
| ports: | |
| - 5462:5432 | |
| options: >- | |
| --health-cmd pg_isready | |
| --health-interval 5s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 | |
| - name: "Setup ruby" | |
| uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b | |
| with: | |
| bundler-cache: true | |
| - name: "Rspec" | |
| run: bundle exec rspec | |
| env: | |
| LOCAL_OFFICE_SEARCH_EPISERVER_USER: unittest | |
| LOCAL_OFFICE_SEARCH_EPISERVER_PASSWORD: ci | |
| audit: | |
| runs-on: runs-on | |
| needs: lint | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 | |
| - name: "Setup ruby" | |
| uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b | |
| with: | |
| bundler-cache: true | |
| - name: "Bundle audit" | |
| run: bundle exec bundle-audit | |
| - name: "Brakeman audit" | |
| run: bundle exec brakeman | |
| - name: "License audit" | |
| run: bundle exec license_finder |