tentei rodar o seguinte código no github actions
name: Go
on:
push:
branches: [ teste_sistemas ]
pull_request:
branches: [ teste_sistemas ]
jobs:
test:
name: Test on node ${{ matrix.go_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
go_version: ['1.18', '1.17', '>=1.18']
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go_version }}
- name: Build-DB
run: docker-compose build
- name: Create-DB
run: docker-compose up -d
build:
needs: test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Build
run: go build -v main.go
o erro retornado foi:
no matching manifest for windows/amd64 10.0.20348 in the manifest list entries
Error: Process completed with exit code 1.
Alguma solução para isso? Tentei procurar nos foruns de ajuda mas só vi solução em S.O windows. O meu é linux.