Skip to content

Update main.yml

Update main.yml #1

Workflow file for this run

name: vulnerability scan workflow
on: [push, workflow_dispatch]
jobs:
meterian_scan:
name: Meterian client scan
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Download the meterian CLI
run: wget -N https://www.meterian.io/downloads/meterian-cli.jar
- name: Scan project with the Meterian client
run: java -jar meterian-cli.jar
env:
METERIAN_API_TOKEN: ${{ secrets.METERIAN_API_TOKEN }}