Add logic to restart the windows event log service for the windows event log tests #1939
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build check | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
push: | |
branches: | |
- main | |
jobs: | |
compile: | |
strategy: | |
matrix: | |
os: [ | |
ubuntu-latest, | |
windows-latest | |
# macos-latest | |
] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go 1.19 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ~1.19.2 | |
- name: Lint Terraform | |
if: runner.os == 'Linux' | |
run: cd terraform && make check-fmt | |
- name: Lint Go | |
if: runner.os == 'Linux' | |
run: make simple-lint | |
- name: Compile tests | |
run: | | |
echo "Compile tests" | |
make compile |