workflow
This commit is contained in:
parent
b3c7aeed4c
commit
90b406b066
1
.github/FUNDING.yml
vendored
Normal file
1
.github/FUNDING.yml
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
github: laktak
|
31
.github/workflows/ci.yml
vendored
Normal file
31
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
name: ci
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: []
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: "1.22"
|
||||||
|
|
||||||
|
- name: chkfmt
|
||||||
|
run: scripts/chkfmt
|
||||||
|
|
||||||
|
- name: prep-test
|
||||||
|
run: scripts/run_test_prep
|
||||||
|
|
||||||
|
- name: tests
|
||||||
|
run: |
|
||||||
|
scripts/tests
|
||||||
|
scripts/run_tests
|
||||||
|
|
||||||
|
- name: xbuild
|
||||||
|
run: scripts/xbuild
|
||||||
|
|
36
.github/workflows/release.yml
vendored
Normal file
36
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
name: release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags: ["v*"]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: "1.22"
|
||||||
|
|
||||||
|
- name: chkfmt
|
||||||
|
run: scripts/chkfmt
|
||||||
|
|
||||||
|
- name: prep-test
|
||||||
|
run: scripts/run_test_prep
|
||||||
|
|
||||||
|
- name: tests
|
||||||
|
run: |
|
||||||
|
scripts/tests
|
||||||
|
scripts/run_tests
|
||||||
|
|
||||||
|
- name: xbuild
|
||||||
|
run: version=${GITHUB_REF#$"refs/tags/v"} scripts/xbuild
|
||||||
|
|
||||||
|
- name: release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
draft: true
|
||||||
|
files: dist/*
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user