diff --git a/.forgejo/workflows/ci.yml b/.github/workflows/ci.yml similarity index 76% rename from .forgejo/workflows/ci.yml rename to .github/workflows/ci.yml index dde3e99..7822970 100644 --- a/.forgejo/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,14 +12,9 @@ permissions: jobs: lint-commits: name: Lint commits - runs-on: docker - container: - image: docker.io/library/ubuntu:24.04 + runs-on: ubuntu-latest if: github.event_name == 'pull_request' steps: - - name: Install git + grep - run: apt-get update && apt-get install -y --no-install-recommends git ca-certificates - - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -50,13 +45,8 @@ jobs: lint-scripts: name: Lint shell scripts - runs-on: docker - container: - image: docker.io/library/ubuntu:24.04 + runs-on: ubuntu-latest steps: - - name: Install shellcheck - run: apt-get update && apt-get install -y --no-install-recommends shellcheck git ca-certificates - - uses: actions/checkout@v4 - name: Run ShellCheck @@ -64,13 +54,8 @@ jobs: security-check: name: Security patterns check - runs-on: docker - container: - image: docker.io/library/ubuntu:24.04 + runs-on: ubuntu-latest steps: - - name: Install grep + git - run: apt-get update && apt-get install -y --no-install-recommends git grep ca-certificates - - uses: actions/checkout@v4 - name: Check for unsafe string interpolation in curl payloads