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:
parent
549bd2c65b
commit
c2582117eb
1 changed files with 6 additions and 9 deletions
|
|
@ -6,14 +6,14 @@ on:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
#environment: ${{ env.FORGEJO_REF_NAME }}
|
||||
|
||||
container:
|
||||
image: oven/bun:1
|
||||
options: --privileged
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: 1.3.9
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
|
@ -25,9 +25,6 @@ jobs:
|
|||
restore-keys: |
|
||||
${{ runner.os }}-bun-
|
||||
|
||||
- name: Install git and curl
|
||||
run: apt-get update && apt-get install -y git curl
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue