From af4092681ae5779814115060a24bf01e55a43086 Mon Sep 17 00:00:00 2001 From: pompydev Date: Sun, 1 Jun 2025 10:07:01 +0900 Subject: [PATCH] ci: port github action to forgejo action --- {.github => .forgejo}/img/pompydev.avif | Bin {.github => .forgejo}/workflows/test.yml | 13 ++++--------- README.md | 2 +- 3 files changed, 5 insertions(+), 10 deletions(-) rename {.github => .forgejo}/img/pompydev.avif (100%) rename {.github => .forgejo}/workflows/test.yml (56%) diff --git a/.github/img/pompydev.avif b/.forgejo/img/pompydev.avif similarity index 100% rename from .github/img/pompydev.avif rename to .forgejo/img/pompydev.avif diff --git a/.github/workflows/test.yml b/.forgejo/workflows/test.yml similarity index 56% rename from .github/workflows/test.yml rename to .forgejo/workflows/test.yml index cbe51a6..922a834 100644 --- a/.github/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -1,4 +1,5 @@ # https://devenv.sh/integrations/github-actions +# https://forgejo.org/docs/latest/user/actions/ name: Test on: push: @@ -8,19 +9,13 @@ on: jobs: test: name: Test - runs-on: ubuntu-latest - permissions: - id-token: write - contents: read + runs-on: docker + container: + image: ghcr.io/cachix/devenv/devenv:latest steps: - uses: actions/checkout@v4 - - uses: DeterminateSystems/determinate-nix-action@v3 - - uses: DeterminateSystems/flakehub-cache-action@main - - uses: DeterminateSystems/flake-checker-action@main - name: Install devenv.sh run: nix profile install nixpkgs#devenv - - name: Cache turbo build - uses: dtinth/setup-github-actions-caching-for-turbo@v1 - run: devenv shell pnpm install - run: devenv shell pnpm lint - run: devenv shell pnpm build diff --git a/README.md b/README.md index 2ad41ef..99ce2a3 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A collection of "pomp-branded" websites. -![example website screenshot](./.github/img/pompydev.avif) +![example website screenshot](./.forgejo/img/pompydev.avif) ## Sites