Divide workflows and give them order, add badges.
All checks were successful
test / test (push) Successful in 1m10s
All checks were successful
test / test (push) Successful in 1m10s
This commit is contained in:
parent
c1f2e7de90
commit
df24f41bb3
21
.gitea/workflows/build.yaml
Normal file
21
.gitea/workflows/build.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
name: build
|
||||
run-name: ${{ gitea.actor }} is building.
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: [test]
|
||||
types:
|
||||
- completed
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: setup go 1.23.1 and fetch deps
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.23.1'
|
||||
cache-dependency-path: go.sum
|
||||
- name: do the actual build thing
|
||||
run: go build -v ./...
|
@ -1,5 +1,5 @@
|
||||
name: Test \'N Build
|
||||
run-name: ${{ gitea.actor }} is testing... \'n building.
|
||||
name: test
|
||||
run-name: ${{ gitea.actor }} is testing.
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
@ -19,17 +19,4 @@ jobs:
|
||||
uses: christopherhx/gitea-upload-artifact@v4
|
||||
with:
|
||||
name: go-results-1.23.1
|
||||
path: testresults-1.23.1.json
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: setup go 1.23.1 and fetch deps
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.23.1'
|
||||
cache-dependency-path: go.sum
|
||||
- name: do the actual build thing
|
||||
run: go build -v ./...
|
||||
path: testresults-1.23.1.json
|
@ -1,5 +1,6 @@
|
||||
# bingo
|
||||
A lightweight {paste,file}bin alternative written in Golang.
|
||||
![test status](https://git.hl.srp.life/srp/bingo/actions/workflows/test.yaml/badge.svg) ![build status](https://git.hl.srp.life/srp/bingo/actions/workflows/build.yaml/badge.svg)
|
||||
|
||||
Overall goal is to create a service that works well as a single-user self-hosted instance, which can trivially upload files/text.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user