Browse Source

build: Use actions/checkout@v4

Jakob Borg 2 years ago
parent
commit
38bbdebffa

+ 1 - 1
.github/workflows/build-infra-dockers.yaml

@@ -24,7 +24,7 @@ jobs:
                 - strelaypoolsrv
                 - strelaypoolsrv
                 - stupgrades
                 - stupgrades
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
 
 

+ 15 - 15
.github/workflows/build-syncthing.yaml

@@ -61,7 +61,7 @@ jobs:
           git config --global core.autocrlf false
           git config --global core.autocrlf false
           git config --global core.eol lf
           git config --global core.eol lf
 
 
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
 
 
       - uses: actions/setup-go@v4
       - uses: actions/setup-go@v4
         with:
         with:
@@ -95,7 +95,7 @@ jobs:
     name: Check correctness
     name: Check correctness
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
 
 
       - uses: actions/setup-go@v4
       - uses: actions/setup-go@v4
         with:
         with:
@@ -128,7 +128,7 @@ jobs:
       - package-debian
       - package-debian
       - govulncheck
       - govulncheck
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
 
 
   #
   #
   # Windows
   # Windows
@@ -149,7 +149,7 @@ jobs:
           git config --global core.autocrlf false
           git config --global core.autocrlf false
           git config --global core.eol lf
           git config --global core.eol lf
 
 
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
 
 
@@ -197,7 +197,7 @@ jobs:
     name: Package for Linux
     name: Package for Linux
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
 
 
@@ -239,7 +239,7 @@ jobs:
     environment: signing
     environment: signing
     runs-on: macos-latest
     runs-on: macos-latest
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
 
 
@@ -361,7 +361,7 @@ jobs:
     name: Package cross compiled
     name: Package cross compiled
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
 
 
@@ -423,7 +423,7 @@ jobs:
     name: Package source code
     name: Package source code
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
 
 
@@ -472,11 +472,11 @@ jobs:
       - package-source
       - package-source
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
 
 
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           repository: syncthing/release-tools
           repository: syncthing/release-tools
           path: tools
           path: tools
@@ -535,7 +535,7 @@ jobs:
     name: Package for Debian
     name: Package for Debian
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
 
 
@@ -587,7 +587,7 @@ jobs:
       - notarize-macos
       - notarize-macos
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           repository: syncthing/release-tools
           repository: syncthing/release-tools
           path: tools
           path: tools
@@ -631,7 +631,7 @@ jobs:
       - package-debian
       - package-debian
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
 
 
@@ -702,7 +702,7 @@ jobs:
             dockerfile: Dockerfile.stdiscosrv
             dockerfile: Dockerfile.stdiscosrv
             image: syncthing/discosrv
             image: syncthing/discosrv
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
 
 
@@ -780,7 +780,7 @@ jobs:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     name: Run govulncheck
     name: Run govulncheck
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
 
 
       - uses: actions/setup-go@v4
       - uses: actions/setup-go@v4
         with:
         with:

+ 1 - 1
.github/workflows/trigger-nightly.yaml

@@ -12,7 +12,7 @@ jobs:
     name: Push to release-nightly to trigger build
     name: Push to release-nightly to trigger build
     steps:
     steps:
 
 
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
           token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
           fetch-depth: 0
           fetch-depth: 0

+ 1 - 1
.github/workflows/update-docs-translations.yaml

@@ -10,7 +10,7 @@ jobs:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     name: Update translations and documentation
     name: Update translations and documentation
     steps:
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
         with:
           fetch-depth: 0
           fetch-depth: 0
           token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
           token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}