Skip to content

Fixed workflow from previous commit #2

Fixed workflow from previous commit

Fixed workflow from previous commit #2

Workflow file for this run

name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Install dependencies
run: go mod download
- name: Build
run: go build -v
- name: Test Go
run: go test -v -json > GoTestResults.json
- name: Upload build
uses: actions/upload-artifact@v4
with:
name: libra
path: libra
- name: Upload Go test results
uses: actions/upload-artifact@v4
with:
name: go-test-results
path: GoTestResults.json