Seraphim R. Pardee
10259ca924
Fix indentation. Use patched upload-artifact action. Update git URL in module. Divide workflows and give them order, add badges. Apparently workflow_run isn't supported yet... Update build to build container and push to registry. Fix some docker registry things. Use internal IPv4 for registry. Missed a spot. I think this order makes a difference. force HTTP use in login this? Use GITHUB_TOKEN instead. idk man i'm just gonna rebase this to clean the log Use a PAT. Copy files over correctly. blah
22 lines
608 B
YAML
22 lines
608 B
YAML
name: test
|
|
run-name: ${{ gitea.actor }} is testing.
|
|
on: [push]
|
|
|
|
jobs:
|
|
test:
|
|
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 test thing
|
|
run: go test -json > testresults-1.23.1.json
|
|
- name: upload test results
|
|
uses: christopherhx/gitea-upload-artifact@v4
|
|
with:
|
|
name: go-results-1.23.1
|
|
path: testresults-1.23.1.json |