From 03fc4e907750adc6f00a004986a63c80616923b8 Mon Sep 17 00:00:00 2001 From: Zack Date: Fri, 2 Aug 2024 09:05:39 -0700 Subject: [PATCH] update workflows --- .github/workflows/ci.yml | 2 +- .github/workflows/golangci-lint.yml | 37 ----------------------------- 2 files changed, 1 insertion(+), 38 deletions(-) delete mode 100644 .github/workflows/golangci-lint.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbe85cb..77d5868 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.18' + go-version: '1.22' - name: Checkout repo uses: actions/checkout@v3 diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml deleted file mode 100644 index 26eb374..0000000 --- a/.github/workflows/golangci-lint.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: golangci-lint - -on: - push: - branches: [main] - pull_request: - branches: [main] - -permissions: - contents: read - -jobs: - golangci: - name: golangci-lint - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v4 - - name: Setup Go - uses: actions/setup-go@v5 - with: - go-version: '1.22' - cache: false - - name: Run golangci-lint - uses: golangci/golangci-lint-action@v6 - with: - version: v1.59 - - # Optional: working directory, useful for monorepos - # working-directory: somedir - - # Optional: golangci-lint command line arguments. - # - # Note: By default, the `.golangci.yml` file should be at the root of the repository. - # The location of the configuration file can be changed by using `--config=` - # args: --timeout=30m --config=/my/path/.golangci.yml --issues-exit-code=0 - args: --verbose \ No newline at end of file