Divide workflows and give them order, add badges.
All checks were successful
test / test (push) Successful in 1m10s

This commit is contained in:
Seraphim R. Pardee 2024-09-20 00:33:32 -04:00
parent c1f2e7de90
commit df24f41bb3
3 changed files with 25 additions and 16 deletions

View 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 ./...

View File

@ -1,5 +1,5 @@
name: Test \'N Build name: test
run-name: ${{ gitea.actor }} is testing... \'n building. run-name: ${{ gitea.actor }} is testing.
on: [push] on: [push]
jobs: jobs:
@ -19,17 +19,4 @@ jobs:
uses: christopherhx/gitea-upload-artifact@v4 uses: christopherhx/gitea-upload-artifact@v4
with: with:
name: go-results-1.23.1 name: go-results-1.23.1
path: testresults-1.23.1.json 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 ./...

View File

@ -1,5 +1,6 @@
# bingo # bingo
A lightweight {paste,file}bin alternative written in Golang. 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. Overall goal is to create a service that works well as a single-user self-hosted instance, which can trivially upload files/text.