[Snyk] Security upgrade openjdk from 11.0.10-jdk-slim to 11.0.13-jdk-slim #22
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: Build and Test | |
on: | |
pull_request: | |
jobs: | |
build-and-test: | |
name: Build and test | |
runs-on: ubuntu-latest | |
services: | |
postgres-db: | |
image: postgres | |
ports: | |
- 5432:5432 | |
env: | |
POSTGRES_DB: postgresql | |
POSTGRES_USER: postgresql | |
POSTGRES_PASSWORD: postgresql | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Build and Run Vulny! | |
run: docker-compose build && docker-compose up -d | |
- name: HawkScan | |
uses: stackhawk/[email protected] | |
with: | |
apiKey: ${{ secrets.HAWK_API_KEY }} | |
configurationFiles: stackhawk.d/stackhawk-custom-params.yml stackhawk-github-pr.yml | |
env: | |
COMMIT_SHA: ${{ github.event.pull_request.head.sha }} | |
BRANCH_NAME: ${{ github.head_ref }} |