From 6bbb9cf500023dbf95812c990b6af8fc4c805ae5 Mon Sep 17 00:00:00 2001 From: Mateusz Urbanek Date: Sat, 11 May 2024 19:17:51 +0200 Subject: [PATCH] ci: added golangci-lint action Signed-off-by: Mateusz Urbanek --- .github/workflows/linters.yaml | 13 +++++++++++++ CODEOWNERS | 1 + 2 files changed, 14 insertions(+) create mode 100644 CODEOWNERS diff --git a/.github/workflows/linters.yaml b/.github/workflows/linters.yaml index 4bb0452..6f6fa85 100644 --- a/.github/workflows/linters.yaml +++ b/.github/workflows/linters.yaml @@ -19,6 +19,19 @@ jobs: configFile: .commitlintrc.mjs token: ${{ secrets.GITHUB_TOKEN }} + golangci-lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version-file: ./go.mod + cache: false + - uses: golangci/golangci-lint-action@v5 + with: + version: latest + skip-cache: true + shell-linters: runs-on: ubuntu-latest steps: diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..8c4cb6e --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1 @@ +* @anza-labs/core