diff --git a/.gitea/workflows/compile.yml b/.gitea/workflows/compile.yml index 3d13e0f..21bad97 100644 --- a/.gitea/workflows/compile.yml +++ b/.gitea/workflows/compile.yml @@ -6,10 +6,13 @@ on: jobs: rockylinux-9-compile: runs-on: rockylinyx9 - dm steps: - name: Aanpassen lokale yum repo - run: sed -i -e 's@^mirrorlist=@#mirrorlist=@' -e 's@#baseurl=http://dl.rockylinux.org/$contentdir@baseurl=https://marceln.org/os/Linux/distr/rocky@' /etc/yum.repos.d/*repo + run: | + sed -i -e 's@^mirrorlist=@#mirrorlist=@' -e 's@#baseurl= + http://dl.rockylinux.org/$contentdir@baseurl= + https://marceln.org/os/Linux/distr/rocky@' + /etc/yum.repos.d/*repo - name: Install dependecies run: dnf install -y nodejs gcc make git-core - name: Check out repository code @@ -24,7 +27,12 @@ jobs: runs-on: fedora-40 steps: - name: Aanpassen lokale yum repo - run: /usr/bin/sed -i -e 's@#baseurl=http://download.example/pub@baseurl=https://marceln.org/@' -e 's/metalink=/#metalink=/' $(grep -l '#baseurl=http://download.example/pub' /etc/yum.repos.d/*) + run: | + /usr/bin/sed -i -e 's@#baseurl= + http://download.example/pub@baseurl= + https://marceln.org/@' -e 's/metalink=/#metalink=/' + $(grep -l '#baseurl=http://download.example/pub' + /etc/yum.repos.d/*) - name: Install dependecies run: dnf install -y nodejs gcc make git-core - name: Check out repository code diff --git a/githooks/pre-commit b/githooks/pre-commit index 5b139ec..60bb3ce 100755 --- a/githooks/pre-commit +++ b/githooks/pre-commit @@ -1,3 +1,4 @@ #!/bin/sh +yamllint .gitea/workflows/compile.yml make