From 87eb5ed2b5d91371c6c788fadf1a8ca4e2cda4b2 Mon Sep 17 00:00:00 2001 From: Ayooluwa Isaiah Date: Fri, 1 Dec 2023 21:49:09 +0200 Subject: [PATCH] update workflows --- .github/workflows/golangci-lint.yml | 8 ++++++-- .github/workflows/test.yml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index d759d88..c8a7ede 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -13,10 +13,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: actions/setup-go@v4 with: - go-version: '1.21' - cache: false + go-version: 1.21 + + - name: Install libasound2-dev + run: sudo apt install libasound2-dev + - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 431236d..dd8cc0d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: # Setup Go - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: 1.21