From ff08d7b59919fed08100ceaf20c5925746573cc9 Mon Sep 17 00:00:00 2001 From: Ivan Kukhta Date: Tue, 24 Sep 2024 16:27:21 +0200 Subject: [PATCH 1/2] Fixup github workflow --- .github/workflows/go.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7ecbd62..2d70705 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -9,21 +9,23 @@ on: pull_request: branches: [ "main" ] -jobs: +permissions: + contents: read +jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - - name: Set up Go - uses: actions/setup-go@v4 + - uses: actions/setup-go@v4 with: go-version: '1.22' - - name: Lint - run: make lint || true - + - uses: golangci/golangci-lint-action@v6 + with: + version: v1.61.0 + args: --timeout=5m + - name: Test run: make test From b403a054853652fac64d704b63d50219e3b6f20c Mon Sep 17 00:00:00 2001 From: Ivan Kukhta Date: Tue, 24 Sep 2024 16:45:26 +0200 Subject: [PATCH 2/2] Add go report card --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 25b4b5a..a565f35 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Go Report Card](https://goreportcard.com/badge/gojp/goreportcard)](https://goreportcard.com/report/gojp/goreportcard) + # RAML 1.0 parser for Go > [!WARNING]