Skip to content

Commit 9ebb17f

Browse files
committed
Fix github actions, which now depend on yq
Signed-off-by: Angel Misevski <[email protected]>
1 parent 165dc9e commit 9ebb17f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/pr.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ jobs:
1414
uses: actions/setup-go@v2
1515
with:
1616
go-version: ^1.12
17+
-
18+
name: Set up Python 3.8
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: 3.8
1722
-
1823
name: Check out code into the Go module directory
1924
uses: actions/checkout@v2
@@ -43,6 +48,7 @@ jobs:
4348
name: Check format
4449
run: |
4550
go get -u github.com/google/addlicense
51+
go get -u golang.org/x/tools/cmd/goimports
4652
git reset HEAD --hard
4753
4854
make fmt
@@ -54,7 +60,9 @@ jobs:
5460
fi
5561
-
5662
name: Run Go Tests
57-
run: make test
63+
run: |
64+
python -m pip install --upgrade pip yq
65+
make test
5866
5967
docker:
6068
name: Check docker build

0 commit comments

Comments
 (0)