use context syntax, run also on windows

This commit is contained in:
Vilsol 2022-05-02 23:18:33 +03:00
parent 0647db1620
commit 79a981b15d

View file

@ -52,7 +52,10 @@ jobs:
test: test:
name: Test name: Test
runs-on: ubuntu-latest strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps: steps:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
@ -77,5 +80,4 @@ jobs:
- name: Test - name: Test
run: go test ./... run: go test ./...
env: env:
SF_DEDICATED_SERVER: $GITHUB_WORKSPACE/SatisfactoryDedicatedServer SF_DEDICATED_SERVER: ${{ github.workspace }}/SatisfactoryDedicatedServer