From 471417dee8f7eb4a3af17a1a1d9020a7f6fba7d1 Mon Sep 17 00:00:00 2001 From: Naoki MATSUMOTO Date: Wed, 27 Mar 2024 12:46:27 +0900 Subject: [PATCH] enable golangci-lint Signed-off-by: Naoki MATSUMOTO --- .github/workflows/test.yaml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f8e9694..7e89a8c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,22 +11,22 @@ on: workflow_dispatch: jobs: - #golangci-lint: - # runs-on: ubuntu-22.04 - # timeout-minutes: 20 - # steps: - # - uses: actions/checkout@v4.1.1 - # with: - # fetch-depth: 1 - # - uses: actions/setup-go@v3 - # with: - # go-version: 1.21.x - # - run: sudo apt-get update - # - name: golangci-lint - # uses: golangci/golangci-lint-action@v3.7.0 - # with: - # version: v1.55.2 - # args: --verbose +golangci-lint: + runs-on: ubuntu-22.04 + timeout-minutes: 20 + steps: + - uses: actions/checkout@v4.1.1 + with: + fetch-depth: 1 + - uses: actions/setup-go@v3 + with: + go-version: 1.21.x + - run: sudo apt-get update + - name: golangci-lint + uses: golangci/golangci-lint-action@v3.7.0 + with: + version: v1.55.2 + args: --verbose create-lxc-image: name: create-lxc-image