website/.forgejo/workflows/build.yaml

22 lines
No EOL
411 B
YAML

name: dotnet build
on:
push:
branches:
- main
jobs:
build:
runs-on: docker
container:
image: nseguin42/forgejo-runner:latest
steps:
- uses: actions/checkout@v4
- name: Setup bun
run: apk add bun
- name: dotnet restore
run: dotnet restore
- name: dotnet build
run: dotnet build
- name: dotnet test
run: dotnet test