From 2a1775bac5a39ce409576f762e190427aea9ed14 Mon Sep 17 00:00:00 2001 From: sandeep <8293321+bauthard@users.noreply.github.com> Date: Sun, 14 Feb 2021 13:15:48 +0530 Subject: [PATCH 1/2] build fix --- .github/workflows/build.yaml | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fdde8ae..aa7f426 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,4 +1,5 @@ name: Build + on: push: branches: @@ -6,40 +7,28 @@ on: pull_request: jobs: - lint: - name: golangci-lint + golangci-lint: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 - name: Run golangci-lint - uses: golangci/golangci-lint-action@v1 + uses: golangci/golangci-lint-action@v2.3.0 with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. version: v1.31 args: --timeout 5m - working-directory: v2/ - - # Optional: working directory, useful for monorepos - # working-directory: somedir - - # Optional: golangci-lint command line arguments. - # args: --issues-exit-code=0 - - # Optional: show only new issues if it's a pull request. The default value is `false`. - # only-new-issues: true build: - name: Build runs-on: ubuntu-latest steps: + - name: Check out code + uses: actions/checkout@v2 + - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.13 - - - name: Check out code - uses: actions/checkout@v2 + go-version: 1.15 - name: Test run: go test . @@ -47,4 +36,4 @@ jobs: - name: Build run: go build . - working-directory: v2/cmd/subfinder/ + working-directory: v2/cmd/subfinder/ \ No newline at end of file From e9d1a2767b5cd8c2a199ae54c0933096be0555ed Mon Sep 17 00:00:00 2001 From: sandeep <8293321+bauthard@users.noreply.github.com> Date: Tue, 16 Feb 2021 01:59:38 +0530 Subject: [PATCH 2/2] Update build.yaml --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index aa7f426..0b1308f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,7 +13,7 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - name: Run golangci-lint - uses: golangci/golangci-lint-action@v2.3.0 + uses: golangci/golangci-lint-action@v2.4.0 with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. version: v1.31