Skip to content

Commit

Permalink
chore: add tools.go for build tools dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Apr 4, 2022
1 parent 872e1e0 commit 7a21297
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,6 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Get dependencies
if: ${{ matrix.go-version != '1.x' }}
run: |
go get gotest.tools/gotestsum
- name: Get dependencies for 1.18
if: ${{ matrix.go-version == '1.x' }}
run: |
go install gotest.tools/gotestsum
- name: modVerify
run: go mod verify

Expand Down
11 changes: 11 additions & 0 deletions tools/tools.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//go:build tools
// +build tools

// This package contains the tool dependencies of the project.

package tools

import (
// Register gotestsum for pinning version
_ "gotest.tools/gotestsum"
)

0 comments on commit 7a21297

Please sign in to comment.