diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 49de58dd297eb3be1904caf59871237f45f881e2..a1767b3f1446be25538472c305dc258610f044f9 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -13,7 +13,7 @@ jobs:
         buildtool: [autotools, cmake]
 
     steps:
-    - uses: actions/checkout@v1
+    - uses: actions/checkout@v2
     - name: Linux setup
       if: runner.os == 'Linux'
       run: |