Skip to content

Merge branch 'main' of https://github.com/squadracorsepolito/acmelib … #78

Merge branch 'main' of https://github.com/squadracorsepolito/acmelib …

Merge branch 'main' of https://github.com/squadracorsepolito/acmelib … #78

Workflow file for this run

name: Go tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.22']
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: go get .
- name: Test
run: go test -json > TestResults-${{ matrix.go-version }}.json
- name: Upload Go test results
uses: actions/upload-artifact@v4
with:
name: Go-results-${{ matrix.go-version }}
path: TestResults-${{ matrix.go-version }}.json