feat: fixes issue #3 by adding support for missile_weapons and melee_… #15
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
# Create github actions workflow to run golang tests for golang version 1.18 | |
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [1.19.x] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Build | |
run: go build -o bin/warhammerd ./cmd/warhammerd | |
- name: Test | |
run: | | |
go test -race ./... -coverprofile cover.out | |
- name: Coverage | |
run: go tool cover -func cover.out |