Removed unused token claim properties from API #1453
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-build | |
on: | |
push: | |
branches: | |
- master | |
tags-ignore: | |
- '*.*' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test-with-coverage: | |
name: Test with Coverage | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.20.x | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Generate Assets | |
run: | | |
make generate-assets | |
- name: Test | |
run: | | |
make test-with-coverage | |
- name: Upload code coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./build/_output/coverage/coverage.txt | |
flags: unittests # optional | |
fail_ci_if_error: true # optional (default = false) | |
verbose: true # optional (default = false) | |
golangci: | |
name: GolangCI Lint | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Generate Assets | |
run: | | |
make generate-assets | |
- name: Lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.52.0 | |
skip-pkg-cache: true | |
skip-build-cache: true | |
args: --config=./.golangci.yml --verbose | |
sbom: | |
name: Generate SBOM | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Generate SBOM | |
uses: CycloneDX/gh-gomod-generate-sbom@v2 | |
with: | |
version: v1 | |
args: mod -licenses -json -output - |