From 1da666d27005e425cf7018e2f559c9b7e34eabaf Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Mon, 26 Aug 2024 16:32:57 +0200 Subject: [PATCH] fixup --- .github/workflows/lint.yml | 5 +++++ .github/workflows/test.yml | 22 +++++++++++----------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b667f7c..7cce461 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -30,6 +30,11 @@ jobs: with: go-version: "1.21" + - name: Install dependencies + run: | + sudo apt-get -y update + sudo apt-get -y install libheif-dev + - name: lint uses: golangci/golangci-lint-action@v6.1.0 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8a84597..f3bba24 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,16 +27,16 @@ jobs: - "1.23" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 - with: - go-version: ${{ matrix.go-version }} + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: ${{ matrix.go-version }} - - name: Install dependencies - run: | - apt-get -y update - apt-get -y install libheif-dev + - name: Install dependencies + run: | + sudo apt-get -y update + sudo apt-get -y install libheif-dev - - name: Run tests - run: | - go test -v ./... + - name: Run tests + run: | + go test -v ./...