diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml
new file mode 100644
index 0000000..bc9a4d5
--- /dev/null
+++ b/.github/dependabot.yaml
@@ -0,0 +1,7 @@
+version: 2
+
+updates:
+  - package-ecosystem: github-actions
+    directory: /
+    schedule:
+      interval: weekly
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c490bc7..7a9bda2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,6 +16,10 @@ on: [push, pull_request]
 permissions:
   contents: read
 
+concurrency:
+  cancel-in-progress: true
+  group: ${{ github.workflow }}-${{ github.head_ref }}
+
 jobs:
   lz4-c-compilers:
     name: CC=${{ matrix.cc }}, ${{ matrix.os }}
@@ -75,7 +79,7 @@ jobs:
       CXX: ${{ matrix.cxx }}
       FIXME__LZ4_CI_IGNORE : ' echo Error.  But we ignore it for now.'
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
 
     - name: apt-get install
       run: |
@@ -176,7 +180,7 @@ jobs:
     name: Benchmark
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
 
     - name: apt-get install
       run: |
@@ -203,7 +207,7 @@ jobs:
     name: Fuzzer test
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
 
     - name: apt-get install
       run: |
@@ -224,7 +228,7 @@ jobs:
     name: LZ4 Makefile - support for standard variables
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
 
     - name: make standard_variables
       run: make V=1 standard_variables
@@ -234,7 +238,7 @@ jobs:
     name: LZ4 versions test
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
 
     - name: apt-get install
       run: |
@@ -249,7 +253,7 @@ jobs:
     name: LZ4 inter-versions ABI test
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
 
     - name: apt-get install
       run: |
@@ -264,7 +268,7 @@ jobs:
     name: LZ4 frame test
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
 
     - name: apt-get install
       run: |
@@ -281,7 +285,7 @@ jobs:
     name: test different values of LZ4_MEMORY_USAGE
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
     - name: LZ4_MEMORY_USAGE
       run: make V=1 -C tests test-compile-with-lz4-memory-usage
 
@@ -290,7 +294,7 @@ jobs:
     name: Custom LZ4_DISTANCE_MAX
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
     - name: custom LZ4_DISTANCE_MAX; test LZ4_USER_MEMORY_FUNCTIONS
       run: |
         MOREFLAGS='-DLZ4_DISTANCE_MAX=8000' make V=1 check
@@ -306,7 +310,7 @@ jobs:
     name: Test lz4 compression on a block device
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
     - name: create a block device, compress it with lz4 # alternative : blindly use /dev/loop0, seems to always exist
       run: |
         make lz4
@@ -333,7 +337,7 @@ jobs:
     name: make cppcheck
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
     - name: apt-get install
       run: |
         sudo apt-get update
@@ -352,7 +356,7 @@ jobs:
     name: make staticAnalyze
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
     - name: apt-get install
       run: |
         sudo apt-get update
@@ -374,7 +378,7 @@ jobs:
     name: valgrind
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
     - name: apt-get install
       run: |
         sudo apt-get update
@@ -395,7 +399,7 @@ jobs:
     env:                        # Set environment variables
       FIXME__LZ4_CI_IGNORE : ' echo Error.  But we ignore it for now.'
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
 
     - name: ubsan
       #########################################################
@@ -412,7 +416,7 @@ jobs:
     env:                        # Set environment variables
       FIXME__LZ4_CI_IGNORE : ' echo Error.  But we ignore it for now.'
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
 
     - name: apt-get install
       run: |
@@ -435,7 +439,7 @@ jobs:
     env:                        # Set environment variables
       FIXME__LZ4_CI_IGNORE : ' echo Error.  But we ignore it for now.'
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
 
     - name: setup
       run: sudo sysctl -w vm.mmap_min_addr=4096
@@ -450,7 +454,7 @@ jobs:
     name: lint unicode in ./lib/, ./tests/ and ./programs/
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
     - name: unicode lint
       run: bash ./tests/unicode_lint.sh
 
@@ -458,7 +462,7 @@ jobs:
     name: make examples
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
     - name: apt-get install
       run: |
         sudo apt-get update
@@ -497,7 +501,7 @@ jobs:
         dry-run: false
         sanitizer: ${{ matrix.sanitizer }}
     - name: Upload Crash
-      uses: actions/upload-artifact@v1
+      uses: actions/upload-artifact@v3
       if: failure() && steps.build.outcome == 'success'
       with:
         name: ${{ matrix.sanitizer }}-artifacts
@@ -549,7 +553,7 @@ jobs:
       XCC: ${{ matrix.xcc }}
       XEMU: ${{ matrix.xemu }}
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
 
     - name: apt-get install
       run: |
@@ -590,7 +594,7 @@ jobs:
     name: macOS
     runs-on: macos-latest
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
 
     - name: Environment info
       run: |
@@ -622,7 +626,7 @@ jobs:
     name: make
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
 
     - name: Environment info
       run: |
@@ -637,7 +641,7 @@ jobs:
     name: make travis-install
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
 
     - name: travis-install
       run: make V=1 clean travis-install
@@ -653,7 +657,7 @@ jobs:
     name: cmake
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
 
     - name: Environment info
       run: |
@@ -674,7 +678,7 @@ jobs:
     name: make cmake
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
     - name: make cmake
       # V=1 for lz4 Makefile, VERBOSE=1 for cmake Makefile.
       run: make V=1 VERBOSE=1 clean cmake
@@ -685,8 +689,8 @@ jobs:
     name: Meson + Ninja
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2 # https://github.com/actions/checkout
-    - uses: actions/setup-python@v2 # https://github.com/actions/setup-python
+    - uses: actions/checkout@v3 # https://github.com/actions/checkout
+    - uses: actions/setup-python@v4 # https://github.com/actions/setup-python
       with:
         python-version: '3.x'
 
@@ -731,7 +735,7 @@ jobs:
     name: git version tag checking for release
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
     - name: make -C tests checkTag
       if: startsWith(github.ref, 'refs/tags/v')   # If git tag name starts with 'v'
       run: |
@@ -757,7 +761,7 @@ jobs:
 
     runs-on: ${{ matrix.os }}
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
 
     - name: init
       run: |
diff --git a/debian/changelog b/debian/changelog
index 38d1d8a..e489e76 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+lz4 (1.9.4+git20220819.1.4de3e98+ds-1) UNRELEASED; urgency=low
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 01 Sep 2022 12:53:02 -0000
+
 lz4 (1.9.4-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/patches/0001-Fix-static-link.patch b/debian/patches/0001-Fix-static-link.patch
index 0b1146f..8a3dd0f 100644
--- a/debian/patches/0001-Fix-static-link.patch
+++ b/debian/patches/0001-Fix-static-link.patch
@@ -9,10 +9,10 @@ Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  tests/Makefile    | 4 +++-
  2 files changed, 6 insertions(+), 4 deletions(-)
 
-diff --git a/programs/Makefile b/programs/Makefile
-index ace0d03..fc4d6f1 100644
---- a/programs/Makefile
-+++ b/programs/Makefile
+Index: lz4/programs/Makefile
+===================================================================
+--- lz4.orig/programs/Makefile
++++ lz4/programs/Makefile
 @@ -91,10 +91,10 @@ lz4-exe.o: lz4-exe.rc
  	$(WINDRES) -i lz4-exe.rc -o lz4-exe.o
  
@@ -35,10 +35,10 @@ index ace0d03..fc4d6f1 100644
  
  lz4.1: lz4.1.md $(LIBVER_SRC)
  	cat $< | $(MD2ROFF) $(MD2ROFF_FLAGS) | $(SED) -n '/^\.\\\".*/!p' > $@
-diff --git a/tests/Makefile b/tests/Makefile
-index 93a5581..b48070a 100644
---- a/tests/Makefile
-+++ b/tests/Makefile
+Index: lz4/tests/Makefile
+===================================================================
+--- lz4.orig/tests/Makefile
++++ lz4/tests/Makefile
 @@ -43,6 +43,8 @@ CFLAGS  += $(DEBUGFLAGS) $(MOREFLAGS)
  CPPFLAGS+= -I$(LZ4DIR) -I$(PRGDIR) -DXXH_NAMESPACE=LZ4_
  FLAGS    = $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
@@ -57,6 +57,3 @@ index 93a5581..b48070a 100644
  
  lib liblz4.pc:
  	$(MAKE) -C $(LZ4DIR) $@ CFLAGS="$(CFLAGS)"
--- 
-2.36.1
-
diff --git a/debian/patches/0002-Change-optimize-to-O2.patch b/debian/patches/0002-Change-optimize-to-O2.patch
index 6ac8f18..881b0ed 100644
--- a/debian/patches/0002-Change-optimize-to-O2.patch
+++ b/debian/patches/0002-Change-optimize-to-O2.patch
@@ -14,10 +14,10 @@ Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  tests/Makefile           |  2 +-
  7 files changed, 14 insertions(+), 14 deletions(-)
 
-diff --git a/Makefile b/Makefile
-index e70c3db..021db67 100644
---- a/Makefile
-+++ b/Makefile
+Index: lz4/Makefile
+===================================================================
+--- lz4.orig/Makefile
++++ lz4/Makefile
 @@ -147,7 +147,7 @@ clangtest: clean
  	$(MAKE) -C $(TESTDIR) all CC=$(CC)
  
@@ -65,10 +65,10 @@ index e70c3db..021db67 100644
  cxx32test: CFLAGS += -m32
  cxxtest cxx32test: clean
  	$(CXX) -v
-diff --git a/contrib/djgpp/Makefile b/contrib/djgpp/Makefile
-index 8cd3580..d49382e 100644
---- a/contrib/djgpp/Makefile
-+++ b/contrib/djgpp/Makefile
+Index: lz4/contrib/djgpp/Makefile
+===================================================================
+--- lz4.orig/contrib/djgpp/Makefile
++++ lz4/contrib/djgpp/Makefile
 @@ -19,7 +19,7 @@ CC = $(CROSS)-gcc
  AR = $(CROSS)-ar
  LD = $(CROSS)-gcc
@@ -78,10 +78,10 @@ index 8cd3580..d49382e 100644
  LDFLAGS ?= -s
  SRC = programs/bench.c programs/lz4io.c programs/lz4cli.c
  OBJ = $(SRC:.c=.o)
-diff --git a/examples/Makefile b/examples/Makefile
-index 8be5c81..c52b5e5 100644
---- a/examples/Makefile
-+++ b/examples/Makefile
+Index: lz4/examples/Makefile
+===================================================================
+--- lz4.orig/examples/Makefile
++++ lz4/examples/Makefile
 @@ -28,7 +28,7 @@
  # ##########################################################################
  
@@ -100,10 +100,10 @@ index 8be5c81..c52b5e5 100644
  cxxtest: clean
  	CC=$(CXX) $(MAKE) -C . all CFLAGS="$(CFLAGS)"
  
-diff --git a/lib/Makefile b/lib/Makefile
-index 06503cb..0ca1dad 100644
---- a/lib/Makefile
-+++ b/lib/Makefile
+Index: lz4/lib/Makefile
+===================================================================
+--- lz4.orig/lib/Makefile
++++ lz4/lib/Makefile
 @@ -48,7 +48,7 @@ BUILD_STATIC:=yes
  
  CPPFLAGS+= -DXXH_NAMESPACE=LZ4_
@@ -113,10 +113,10 @@ index 06503cb..0ca1dad 100644
  DEBUGFLAGS:= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
               -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes \
               -Wundef -Wpointer-arith -Wstrict-aliasing=1
-diff --git a/lib/dll/example/Makefile b/lib/dll/example/Makefile
-index eb8cc1e..5dbd0ed 100644
---- a/lib/dll/example/Makefile
-+++ b/lib/dll/example/Makefile
+Index: lz4/lib/dll/example/Makefile
+===================================================================
+--- lz4.orig/lib/dll/example/Makefile
++++ lz4/lib/dll/example/Makefile
 @@ -28,7 +28,7 @@ LZ4DIR  := ../include
  LIBDIR  := ../static
  DLLDIR  := ../dll
@@ -126,11 +126,11 @@ index eb8cc1e..5dbd0ed 100644
  CFLAGS  += -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum \
             -Wdeclaration-after-statement -Wstrict-prototypes \
             -Wpointer-arith -Wstrict-aliasing=1
-diff --git a/programs/Makefile b/programs/Makefile
-index fc4d6f1..3cbd71a 100644
---- a/programs/Makefile
-+++ b/programs/Makefile
-@@ -47,7 +47,7 @@ SRCFILES  = $(sort $(LIBFILES) $(wildcard *.c))
+Index: lz4/programs/Makefile
+===================================================================
+--- lz4.orig/programs/Makefile
++++ lz4/programs/Makefile
+@@ -47,7 +47,7 @@ SRCFILES  = $(sort $(LIBFILES) $(wildcar
  OBJFILES  = $(SRCFILES:.c=.o)
  
  CPPFLAGS += -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_
@@ -139,10 +139,10 @@ index fc4d6f1..3cbd71a 100644
  DEBUGFLAGS= -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow \
              -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes \
              -Wpointer-arith -Wstrict-aliasing=1
-diff --git a/tests/Makefile b/tests/Makefile
-index b48070a..ca398f5 100644
---- a/tests/Makefile
-+++ b/tests/Makefile
+Index: lz4/tests/Makefile
+===================================================================
+--- lz4.orig/tests/Makefile
++++ lz4/tests/Makefile
 @@ -35,7 +35,7 @@ PYTHON  ?= python3
  
  DEBUGLEVEL?= 1
@@ -152,6 +152,3 @@ index b48070a..ca398f5 100644
  CFLAGS  += -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow \
             -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes \
             -Wpointer-arith -Wstrict-aliasing=1
--- 
-2.36.1
-