Update workflow for plain Ubuntu images
Some checks failed
Test CI Pipeline / test (push) Failing after 1s

Switch from catthehacker images to plain ubuntu:22.04:
- Add environment setup step to install basic tools
- Install Node.js from official repository
- Remove container tests that conflict with Podman setup

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Evan Carroll 2025-06-08 00:42:27 -05:00
parent 1668b6bf8b
commit 726a02b3f6

View file

@ -14,6 +14,12 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup environment
run: |
echo "Setting up plain Ubuntu environment..."
apt-get update
apt-get install -y curl wget git build-essential
- name: Test system information - name: Test system information
run: | run: |
echo "Testing Forgejo runner with Podman support" echo "Testing Forgejo runner with Podman support"
@ -28,13 +34,15 @@ jobs:
which podman || echo "Podman not found in PATH" which podman || echo "Podman not found in PATH"
podman --version || echo "Podman version failed" podman --version || echo "Podman version failed"
- name: Test simple container - name: Install Node.js
run: | run: |
echo "Testing simple container execution..." echo "Installing Node.js..."
podman run --rm alpine:latest echo "Hello from Alpine container!" curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
apt-get install -y nodejs
- name: Test Node.js environment - name: Test Node.js environment
run: | run: |
echo "Testing Node.js environment..." echo "Testing Node.js environment..."
node --version || echo "Node.js not available" node --version
npm --version || echo "npm not available" npm --version
node test.js