Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/gorilla/[email protected]/scanner/doc.go: Cannot open: File exists #387

Closed
raliqala opened this issue Jan 18, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@raliqala
Copy link

raliqala commented Jan 18, 2022

Hello Good Day

Am trying to run golangci-lint-action but i'm receiving this error

/usr/bin/tar: ../../../go/pkg/mod/github.com/sourcegraph/[email protected]/testdata/nested_0.txt.html: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/github.com/sourcegraph/[email protected]/testdata/html.txt: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/github.com/sourcegraph/[email protected]/testdata/nested_2.txt.html: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/github.com/sourcegraph/[email protected]/testdata/adjacent.txt: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/github.com/sourcegraph/[email protected]/testdata/hello_world.txt: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/github.com/sourcegraph/[email protected]/testdata/nested_0.txt: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/github.com/sourcegraph/[email protected]/testdata/adjacent.txt.html: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/github.com/sourcegraph/[email protected]/testdata/nested_2.txt: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/github.com/sourcegraph/[email protected]/benchmark.txt: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/github.com/sourcegraph/[email protected]/Makefile: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/github.com/sourcegraph/[email protected]/LICENSE: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/sourcegraph/[email protected]/annotate_test.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/sourcegraph/[email protected]/annotate.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/bytebuffer_timing_test.go: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/.travis.yml: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/README.md: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/doc.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/bytebuffer_example_test.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/pool.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/bytebuffer.go: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/LICENSE: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/pool_test.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/bytebuffer_test.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/server_example_test.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/server_test.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/bytesconv_table_gen.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/stream_timing_test.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/bytesconv_64.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/header.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/brotli_test.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/lbclient.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/workerpool_test.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/peripconn.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/uri_unix.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/args_test.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/bytesconv_table.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/header_regression_test.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/github.com/valyala/[email protected]/workerpool.go: Cannot open: File exists

image

Please help.

This is my .yml file

name: golangci-lint
on:
  push:
    tags:
      - v*
    branches:
      - dev
      - main
  pull_request:
permissions:
  contents: read

jobs:
  ci:
    name: "Run CI"
    strategy:
      fail-fast: false
      matrix:
        # os: ["windows-latest", "ubuntu-latest", "macOS-latest"]
        os: ["ubuntu-latest"]
        go: ["1.17.x"]
    runs-on: ${{ matrix.os }}
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 1
    - uses: WillAbides/[email protected]
      with:
        go-version: ${{ matrix.go }}
    - run: "go test ./..."
    - run: "go vet ./..."
    - uses: golangci/golangci-lint-action@v2
      with:
        version: v1.29
    - uses: dominikh/[email protected]
      with:
        version: "2021.1.1"
        install-go: false
        cache-key: ${{ matrix.go }}
    
@bombsimon
Copy link
Member

Duplicate of #244

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants