Update Go in actions and add go vet to pre-commit

This commit is contained in:
Tulir Asokan
2022-08-15 16:19:43 +03:00
parent 13c7573b3f
commit 52f7ca1a49
6 changed files with 7 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.18]
go-version: [1.19]
steps:
- uses: actions/checkout@v3
@@ -17,6 +17,9 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- name: Install libolm
run: sudo apt-get install libolm-dev libolm3
- name: Install goimports
run: |
go install golang.org/x/tools/cmd/goimports@latest