Skip to content

Merge pull request #8 from Lundis/updated_ci #52

Merge pull request #8 from Lundis/updated_ci

Merge pull request #8 from Lundis/updated_ci #52

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
- name: Run Test and Coverage
run: go test ./vector2/ ./vector3/ -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true