add sbom creation and vulnerability scan #9
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: 'Code Style Review' | |
on: | |
push: | |
branches: | |
- dagger-ci | |
jobs: | |
lint: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 'lint' | |
uses: dagger/dagger-for-github@v6 | |
with: | |
verb: call | |
module: ci | |
args: lint --directory=./ | |
version: '0.14.0' | |
# TODO: add the token as github secret | |
#cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }} |