]> git.ipfire.org Git - thirdparty/git.git/commitdiff
l10n: ci: disable cache for setup-go to suppress warnings
authorJiang Xin <worldhello.net@gmail.com>
Fri, 16 Feb 2024 03:20:39 +0000 (11:20 +0800)
committerJiang Xin <worldhello.net@gmail.com>
Fri, 16 Feb 2024 03:51:19 +0000 (11:51 +0800)
After we upgraded actions/setup-go to v5, the following warning message
was reported every time we ran the CI.

    Restore cache failed: Dependencies file is not found ...

Disable cache to suppress warning messages as described in the solution
below.

    https://github.com/actions/setup-go/issues/427

Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
.github/workflows/l10n.yml

index 6d3ae9daf1880812143d5576743a35e69182e9d7..e2c3dbdcb50f0cedbf990677e234e7114ecd7746 100644 (file)
@@ -66,6 +66,7 @@ jobs:
       - uses: actions/setup-go@v5
         with:
           go-version: '>=1.16'
+          cache: false
       - name: Install git-po-helper
         run: go install github.com/git-l10n/git-po-helper@main
       - name: Install other dependencies