fj/.forgejo/workflows/build.yml

16 lines
370 B
YAML

on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
check-latest: true
cache-dependency-path: "**/*.sum"
- run: go build
- uses: actions/upload-artifact@v3
with:
name: fj
path: fj