diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 6853164..6da5b9c 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -13,7 +13,7 @@ jobs: fetch-depth: 0 - name: Install grep & coreutils - run: apt update -qq && apt install grep coreutils -qq + run: sudo apt update -yqq && sudo apt install grep coreutils -yqq - name: Get Go version run: echo "GO_VERSION=$(grep 'go \d\.' go.mod | cut -d ' ' -f 2)" >> $GITHUB_ENV && cat $GITHUB_ENV diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 81a1fbf..21d34ad 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,7 +18,7 @@ jobs: fetch-depth: 0 - name: Install grep & coreutils - run: apt update -qq && apt install grep coreutils -qq + run: sudo apt update -yqq && sudo apt install grep coreutils -yqq - name: Get Go version run: echo "GO_VERSION=$(grep 'go \d\.' go.mod | cut -d ' ' -f 2)" >> $GITHUB_ENV