Skip to content

Replace deprecated PullOptions (#109) #84

Replace deprecated PullOptions (#109)

Replace deprecated PullOptions (#109) #84

Workflow file for this run

name: Go Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
directory: [ 'shared', 'HadesCloneContainer', 'HadesAPI' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22
cache-dependency-path: "**/*.sum"
- name: Install dependencies
run: cd ${{ matrix.directory }} && go mod download
- name: Test with Go
run: go test ./${{ matrix.directory }}/... -json > TestResults-${{ matrix.directory }}.json
- name: Upload Go test results
uses: actions/upload-artifact@v4
with:
name: Go-results-${{ matrix.directory }}
path: TestResults-${{ matrix.directory }}.json