Skip to content

Commit d0457fa

Browse files
committed
gha: validate gocompat
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 97c45d1 commit d0457fa

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/validate.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,21 @@ jobs:
8080
shell: 'script --return --quiet --command "bash {0}"'
8181
run: |
8282
make -f docker.Makefile ${{ matrix.target }}
83+
84+
validate-gocompat:
85+
runs-on: ubuntu-24.04
86+
env:
87+
GOPATH: ${{ github.workspace }}
88+
GO111MODULE: off
89+
steps:
90+
-
91+
name: Checkout
92+
uses: actions/checkout@v6
93+
with:
94+
path: src/github.com/docker/cli
95+
-
96+
name: Run gocompat check
97+
shell: 'script --return --quiet --command "bash {0}"'
98+
working-directory: ${{ github.workspace }}/src/github.com/docker/cli
99+
run: |
100+
make -C ./internal/gocompat

0 commit comments

Comments
 (0)