Skip to content

Commit

Permalink
relative path to go.mod
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Macdonald <austin@redhat.com>
  • Loading branch information
asmacdo committed Sep 19, 2022
1 parent 91f2509 commit 7bdbefc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/go-apidiff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sanity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7bdbefc

Please sign in to comment.