ci: switch to oven-sh/setup-bun action
Some checks failed
/ build (push) Has been cancelled

Remove Docker container and apt-get steps. Use oven-sh/setup-bun@v1
with ubuntu-latest runner instead. Git is pre-installed on Ubuntu runners.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Christoph Haas 2026-06-06 00:47:47 +02:00
parent 549bd2c65b
commit c2582117eb

View file

@ -6,14 +6,14 @@ on:
jobs: jobs:
build: build:
runs-on: docker runs-on: ubuntu-latest
#environment: ${{ env.FORGEJO_REF_NAME }}
container:
image: oven/bun:1
options: --privileged
steps: steps:
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.3.9
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -25,9 +25,6 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-bun- ${{ runner.os }}-bun-
- name: Install git and curl
run: apt-get update && apt-get install -y git curl
- name: Install dependencies - name: Install dependencies
run: bun install --frozen-lockfile run: bun install --frozen-lockfile