This repository has been archived by the owner on Feb 28, 2024. It is now read-only.
Merge pull request #130 from alphagov/dependabot/bundler/rack-3.0.9 #401
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: CI | |
on: [push, pull_request] | |
jobs: | |
snyk-security: | |
name: SNYK security analysis | |
uses: alphagov/govuk-infrastructure/.github/workflows/snyk-security.yml@main | |
secrets: inherit | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
- uses: actions/cache@v1 | |
with: | |
path: vendor/bundle | |
key: bundle-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: bundle | |
- run: bundle install --jobs 4 --retry 3 --deployment | |
- run: bundle exec rubocop | |
codeql-sast: | |
name: CodeQL SAST scan | |
uses: alphagov/govuk-infrastructure/.github/workflows/codeql-analysis.yml@main | |
permissions: | |
security-events: write | |
dependency-review: | |
name: Dependency Review scan | |
uses: alphagov/govuk-infrastructure/.github/workflows/dependency-review.yml@main |