The original workflow was using GitHub-specific actions that don't exist
in Forgejo, causing CI to fail immediately with:
'repository not found: Not Found' for actions-rs/toolchain@v1
Key changes:
- Replace 'runs-on: docker' with 'runs-on: ubuntu-latest' and proper containers
- Remove 'actions-rs/toolchain@v1' (doesn't exist in Forgejo)
- Use 'rust:latest' container image instead which includes rustfmt, clippy, and cargo
- Update all action references to use full URLs (https://github.com/...)
- Use 'docker:dind' service for Docker-in-Docker support
- Remove 'docker/setup-buildx-action@v3' (not needed for basic docker build)
This workflow is now compatible with Forgejo and should run successfully.