fix: better handling of accepted characters for App and Org Names and App Public IDs #14
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: Build & Test | |
on: | |
pull_request: | |
paths-ignore: | |
- 'README.md' | |
workflow_dispatch: | |
env: | |
LC_APPLICATION_ID: sonatype-lifecycle-bulk-scm-onboarder | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.60 | |
- name: Build | |
run: | | |
go build -ldflags='-s -w' | |
- name: Run Tests | |
run: | | |
go test -v ./... | |
sonatype: | |
name: Sonatype Lifecycle | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Sonatype Lifecycle Evaluation | |
id: evaluate | |
uses: sonatype/actions/evaluate@v1 | |
with: | |
iq-server-url: ${{ vars.SONATYPE_PLATFORM_URL }} | |
username: ${{ secrets.SONATYPE_LIFECYCLE_USERNAME }} | |
password: ${{ secrets.SONATYPE_LIFECYCLE_PASSWORD }} | |
application-id: ${{ env.LC_APPLICATION_ID }} | |
scan-targets: '.' |