]> git.alsa-project.org Git - alsa-lib.git/commitdiff
github actions: move to checkout@v3
authorJaroslav Kysela <perex@perex.cz>
Thu, 19 May 2022 09:46:49 +0000 (11:46 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 19 May 2022 10:38:18 +0000 (12:38 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
.github/workflows/build.yml

index e23bd5023f01c2c8dde6ff9510c08c0ab374bc7a..d8a025b4764235c35494f4f48c31274c06f5dba0 100644 (file)
@@ -13,10 +13,12 @@ jobs:
         dnf -y upgrade
         dnf -y install @development-tools libtool bzip2
     - name: Checkout
-      uses: actions/checkout@v2
-    - name: Checkout all tags
+      uses: actions/checkout@v3
+      with:
+        fetch-depth: 0
+    - name: Safe git directory
       run: |
-        git fetch --prune --unshallow
+        git config --global --add safe.directory "$GITHUB_WORKSPACE"
     - name: Modify version
       run: |
         mv configure.ac configure.ac.old
@@ -73,7 +75,7 @@ jobs:
       image: ubuntu:latest
     steps:
     - name: Checkout
-      uses: actions/checkout@v2
+      uses: actions/checkout@v3
     - name: Prepare environment
       run: |
         export DEBIAN_FRONTEND=noninteractive