chore: update GitHub Actions workflows

Signed-off-by: squidfunk <martin.donath@squidfunk.com>
This commit is contained in:
Martin Donath
2026-04-16 18:13:03 +02:00
committed by GitHub
4 changed files with 9 additions and 12 deletions
+1 -1
View File
@@ -283,7 +283,7 @@ jobs:
ref: ${{ inputs.ref || github.sha }}
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4
with:
buildkitd-flags: --debug
+6 -6
View File
@@ -55,20 +55,20 @@ jobs:
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4
- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: zensical
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Generate tags and labels
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
env:
VERSION: ${{ steps.version.outputs.version }}
with:
@@ -91,7 +91,7 @@ jobs:
run: python scripts/prepare.py
- name: Build image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
load: true
@@ -109,7 +109,7 @@ jobs:
docker run --rm -i -v $PWD:/docs $IMAGE:$VERSION build
- name: Build and push image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
platforms: |
+1 -1
View File
@@ -132,7 +132,7 @@ jobs:
fetch-tags: true
- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
path: artifacts
merge-multiple: true
+1 -4
View File
@@ -398,10 +398,7 @@ impl Monitor {
// added a path that covers an actively watched path
let mut watched: Option<&PathBuf> = None;
for (current, active) in &mut self.paths {
if watched
.filter(|prefix| current.starts_with(prefix))
.is_some()
{
if watched.is_some_and(|prefix| current.starts_with(prefix)) {
// The actively watched path is a prefix of the current path,
// so a covering path was added, which means we must remove it
if *active == true {