Skip to content

Commit 1408142

Browse files
authored
ci: use correct go version in pre-commit check
1 parent cc453b4 commit 1408142

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pre-commit.yml

+5
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
- uses: actions/setup-python@v4.2.0
2020
with:
2121
python-version: '3.x'
22+
- uses: actions/setup-go@v3
23+
with:
24+
go-version-file: 'go.mod'
25+
check-latest: true
26+
cache: true
2227
- name: Install dependencies
2328
run: sudo apt-get update && sudo apt-get install -y libdevmapper-dev libbtrfs-dev
2429
- uses: pre-commit/action@v3.0.0

0 commit comments

Comments
 (0)