tijl.dev-core/.gitea/workflows/build.yaml

33 lines
484 B
YAML
Raw Normal View History

2024-08-19 22:37:57 +02:00
name: build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
github-server-url: 'https://git.tijl.dev'
- name: Build css
run: npm run build:css
- name: Build js
run: npm run build
2024-08-20 11:49:05 +02:00
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
2024-08-19 22:37:57 +02:00
- name: Build
run: go build -v ./...