diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 45b818b4e..b7330b345 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -15,5 +15,5 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v3 with: - go-version-file: 'go.mod' + go-version-file: '../../go.mod' - run: make build diff --git a/.github/workflows/go-apidiff.yaml b/.github/workflows/go-apidiff.yaml index bf5b07d4f..fabec9eb3 100644 --- a/.github/workflows/go-apidiff.yaml +++ b/.github/workflows/go-apidiff.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version-file: 'go.mod' + go-version-file: '../../go.mod' id: go - name: Check out code into the Go module directory uses: actions/checkout@v2 diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index 8ee623eae..c1457138d 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -55,7 +55,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v3 with: - go-version-file: 'go.mod' + go-version-file: '../../go.mod' - name: "Run GoReleaser" run: make release @@ -80,7 +80,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version-file: 'go.mod' + go-version-file: '../../go.mod' - name: "Run GoReleaser" run: make release @@ -105,7 +105,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version-file: 'go.mod' + go-version-file: '../../go.mod' - name: "Install linux cross-compilers" run: | diff --git a/.github/workflows/sanity.yaml b/.github/workflows/sanity.yaml index 807e76c38..87ba1c482 100644 --- a/.github/workflows/sanity.yaml +++ b/.github/workflows/sanity.yaml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v3 with: - go-version-file: 'go.mod' + go-version-file: '../../go.mod' - name: Install goimports run: go install golang.org/x/tools/cmd/goimports@latest - name: Run sanity checks diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c9f653ce6..e63ddcfd9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v3 with: - go-version-file: 'go.mod' + go-version-file: '../../go.mod' - name: Install podman run: | . /etc/os-release diff --git a/.github/workflows/unit.yaml b/.github/workflows/unit.yaml index bc019f960..ebcd7eab0 100644 --- a/.github/workflows/unit.yaml +++ b/.github/workflows/unit.yaml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v3 with: - go-version-file: 'go.mod' + go-version-file: '../../go.mod' - run: make unit - run: sed -i'' "s:^github.com/$GITHUB_REPOSITORY/::" coverage.out - run: .github/workflows/codecov.sh -Z -f coverage.out