Add provider attribute to all logger calls and enhance error reporting #375
This file contains hidden or 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: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - go-go-gadgetto | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.25' | |
| - name: Run Go tests | |
| run: go test -v ./... | |
| - name: Build binary | |
| run: go build -o java-metadata ./cmd/java-metadata | |
| - name: Verify binary works | |
| run: ./java-metadata --help || true | |
| test-bash: | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install shellcheck | |
| run: sudo apt -y install shellcheck | |
| - name: Run ShellCheck | |
| run: | | |
| shellcheck -V | |
| shellcheck -x bin/*.bash |