From eec3136a0b1a5dd071138582832c7474367246a6 Mon Sep 17 00:00:00 2001 From: Richard Hillmann Date: Sun, 26 Mar 2023 14:27:31 +0200 Subject: [PATCH] fix(ci): add tags to pre-commit --- .github/workflows/pre-commit.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 3e4d59ea..f40ecef4 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -5,6 +5,9 @@ on: push: branches: [master] +env: + GOFLAGS: -tags=containers_image_openpgp,exclude_graphdriver_btrfs,btrfs_noversion,exclude_graphdriver_devicemapper + jobs: pre-commit: runs-on: ubuntu-latest @@ -27,5 +30,3 @@ jobs: - name: Install dependencies run: sudo apt-get update && sudo apt-get install -y libdevmapper-dev libbtrfs-dev - uses: pre-commit/action@v3.0.0 - with: - token: ${{ secrets.GITHUB_TOKEN }}