From 8ee4b3b2afa6f840eeb3a0145df814043ee255d8 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Thu, 15 May 2025 20:10:24 -0300 Subject: [PATCH] Simplify Emacs CI workflow - Remove container usage for simpler setup. - Use actions/checkout@v3 for code checkout. - Install Emacs and Git directly in the workflow. - Reduce unnecessary steps and improve workflow clarity. - Ensure Emacs and Git are installed for all jobs. --- .gitea/workflows/ci.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 93b9204..a4e0bff 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -9,23 +9,19 @@ jobs: compile: name: Compile Emacs Package runs-on: ubuntu-latest - container: - image: silex/emacs:29.1 + env: TERM: dumb DEBIAN_FRONTEND: noninteractive - steps: - - name: Checkout manually - run: | - apt-get update -qq && apt-get install -y -qq git - git --version - git clone https://git.rogs.me/rogs/forge-llm.git . - - name: Install Git + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Install Emacs and Git run: | - echo "🔧 Installing Git..." - apt-get update -qq && apt-get install -y -qq git - git --version + sudo apt-get update + sudo apt-get install -y emacs git - name: Setup Emacs environment run: mkdir -p .emacs.d/elpa @@ -73,12 +69,16 @@ jobs: lint: name: Lint Emacs Package runs-on: ubuntu-latest - container: - image: silex/emacs:29.1 + steps: - name: Checkout code uses: actions/checkout@v3 + - name: Install Emacs + run: | + sudo apt-get update + sudo apt-get install -y emacs + - name: Install package-lint and dependencies run: | emacs --batch -Q \