fix: sbom golang purl parsing failing #316
Workflow file for this run
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: | |
pull_request: | |
branches: | |
- '*' | |
workflow_dispatch: # allow this workflow to be called by other workflows | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
jobs: | |
integration-tests: | |
runs-on: ubuntu-latest | |
name: Integration Tests | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up graalVM | |
uses: graalvm/setup-graalvm@v1 | |
with: | |
version: 'latest' | |
java-version: '17' | |
components: 'native-image' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run integration tests | |
run: | | |
./mvnw verify -Pnative | |
openapi-lint-checks: | |
runs-on: ubuntu-latest | |
name: OpenAPI Linter | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: npx @redocly/cli lint api-spec/v3/openapi.yaml | |
openapi-validation: | |
runs-on: ubuntu-latest | |
name: Validate OpenAPI Spec | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Validate OpenAPI definition | |
uses: char0n/swagger-editor-validate@v1 | |
with: | |
definition-file: api-spec/v3/openapi.yaml |