added racedetector target to Makefile to enable -race build #1713
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: AliECS Core | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
control-basic-check: | |
name: Basic Make Check | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macOS-latest, ubuntu-20.04] | |
go: [ '1.21.5' ] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{matrix.go}} | |
- run: (make vendor) | |
- run: (make) | |
- run: (make test) |