Skip to content

senzing-factory/build-resources#15 update go workflow permissions (#118) #136

senzing-factory/build-resources#15 update go workflow permissions (#118)

senzing-factory/build-resources#15 update go workflow permissions (#118) #136

# Based on
# - https://github.com/marketplace/actions/setup-go-environment
name: go-test-windows.yaml
on: [push]
permissions:
contents: read
jobs:
go-test-windows:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: ["1.21"]
os: [windows-latest]
name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}"
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Run go test
run: go test -v -p 1 ./...