bunker/.gitea/workflows/integration.yaml
SimonFJ20 c683d5d254
Some checks failed
Integration / Validate (push) Successful in 9s
Integration / Build latest (push) Failing after 28s
add on commit build
2024-09-26 02:55:03 +02:00

57 lines
1.2 KiB
YAML

name: Integration
on:
push:
branches: main
pull_request:
branches: main
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
permissions:
contents: read # Needed to clone the repository
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Check
run: "deno task check"
build:
name: Build latest
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Clone
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '>=1.20.1'
- name: Compile
run: "deno task compile"
- name: Release
id: use-go-action
uses: "https://gitea.com/actions/release-action@main"
with:
files: "bunker"
api_key: '${{secrets.GITEA_TOKEN}}'
tag_name: "latest"
prerelease: true