Browse Source

use sudo apt update in workflow

Anish Mukherjee 2 years ago
parent
commit
3b7968483d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/test.yml

+ 1 - 1
.github/workflows/test.yml

@@ -80,7 +80,7 @@ jobs:
           go-version: 1.19
       - name: run tests
         run: |
-          apt update
+          sudo apt update
           sudo apt-get install -y gcc libgl1-mesa-dev xorg-dev
           go test -p 1 ./... -v
           go install honnef.co/go/tools/cmd/staticcheck@latest