Fix indentation.
Some checks failed
Test \'N Build / test (push) Failing after 9m36s
Test \'N Build / build (push) Has been cancelled

This commit is contained in:
Seraphim R. Pardee 2024-09-19 23:54:41 -04:00
parent b4aaa00517
commit 3d0a478a52

View File

@ -4,32 +4,32 @@ on: [push]
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: checkout code - name: checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: setup go 1.23.1 and fetch deps - name: setup go 1.23.1 and fetch deps
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: '1.23.1' go-version: '1.23.1'
cache-dependency-path: go.sum cache-dependency-path: go.sum
- name: do the actual test thing - name: do the actual test thing
run: go test -json > testresults-1.23.1.json run: go test -json > testresults-1.23.1.json
- name: upload test results - name: upload test results
uses: actions/upload-artifact@v4 uses: actions/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: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: checkout code - name: checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: setup go 1.23.1 and fetch deps - name: setup go 1.23.1 and fetch deps
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: '1.23.1' go-version: '1.23.1'
cache-dependency-path: go.sum cache-dependency-path: go.sum
- name: do the actual build thing - name: do the actual build thing
run: go build -v ./... run: go build -v ./...