install gpgme.h first

This commit is contained in:
Christian Goll
2022-04-09 13:59:05 +02:00
parent 6005f14953
commit 86624a6980

View File

@@ -21,6 +21,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install gpgme
run: sudo apt-get install libgpgme-dev
- name: Setup go ${{ matrix.go }}
uses: actions/setup-go@v2
with:
@@ -36,11 +39,8 @@ jobs:
- name: Build with go ${{ matrix.go }}
run: make all
# vet is failing due to:
# Error: vendor/github.com/mtrmac/gpgme/data.go:4:11: fatal error: gpgme.h: No such file or directory
# 4 | // #include <gpgme.h>
# - name: vet
# run: make vet
- name: vet
run: make vet
- name: test
run: make test-it