diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index cfac670..c0aedeb 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -24,8 +24,18 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: 'actions/checkout@v2' + - uses: 'actions/setup-go@v5' + with: + go-version: stable + - name: ⚙️ Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y + sudo apt-get install libbtrfs-dev -y + sudo apt-get install libgpgme-dev -y + go mod tidy - name: 'golangci-lint' - uses: 'golangci/golangci-lint-action@v2' + uses: 'golangci/golangci-lint-action@v6' with: # Optional: 'version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version' version: 'v1.59'