feat: change repo name

This commit is contained in:
2025-03-28 00:10:54 +02:00
parent 06a213dd00
commit a3514981f5
8 changed files with 18 additions and 16 deletions

12
.github/README.md vendored
View File

@@ -1,4 +1,4 @@
# go-test-sarif
# go-test-sarif and go-test-sarif-action
`go-test-sarif` is a CLI tool and GitHub Action for converting `go test -json` output into SARIF format,
making it compatible with GitHub Security Tab and other SARIF consumers.
@@ -15,13 +15,13 @@ making it compatible with GitHub Security Tab and other SARIF consumers.
### Using `go install`
```sh
go install github.com/ivuorinen/go-test-sarif@latest
go install github.com/ivuorinen/go-test-sarif-action@latest
```
### Using Docker
```sh
docker pull ghcr.io/ivuorinen/go-test-sarif:latest
docker pull ghcr.io/ivuorinen/go-test-sarif-action:latest
```
## 🛠️ Usage
@@ -36,7 +36,7 @@ go-test-sarif go-test-results.json go-test-results.sarif
### Docker Usage
```sh
docker run --rm -v $(pwd):/workspace ghcr.io/ivuorinen/go-test-sarif go-test-results.json go-test-results.sarif
docker run --rm -v $(pwd):/workspace ghcr.io/ivuorinen/go-test-sarif-action go-test-results.json go-test-results.sarif
```
### GitHub Action Usage
@@ -45,7 +45,7 @@ Add the following step to your GitHub Actions workflow:
```yaml
- name: Convert JSON to SARIF
uses: ivuorinen/go-test-sarif@v1
uses: ivuorinen/go-test-sarif-action@v1
with:
test_results: go-test-results.json
```
@@ -101,7 +101,7 @@ SARIF report example:
Clone the repository and build the project:
```sh
git clone https://github.com/ivuorinen/go-test-sarif.git
git clone https://github.com/ivuorinen/go-test-sarif-action.git
cd go-test-sarif
go build -o go-test-sarif ./cmd/main.go
```

View File

@@ -6,6 +6,8 @@ on:
release:
types: [published]
permissions: read-all
jobs:
publish:
runs-on: ubuntu-latest

View File

@@ -28,7 +28,7 @@ jobs:
run: go test -json ./... > go-test-results.json
- name: Convert JSON to SARIF
uses: ivuorinen/go-test-sarif@58ffaaacdb178a5d053f8e8c2693966422a3ecda # v1
uses: ivuorinen/go-test-sarif-action@58ffaaacdb178a5d053f8e8c2693966422a3ecda # v1
with:
input_file: go-test-results.json
output_file: go-test-results.sarif