Skip to content

implement distance calculation #12

implement distance calculation

implement distance calculation #12

Workflow file for this run

name: PR
on:
pull_request:
jobs:
ci:
name: CI
runs-on: ubuntu-latest
container: golang:1
timeout-minutes: 30
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@main
continue-on-error: true
with:
path: ./
base: ${{ github.event.repository.default_branch }}
head: HEAD
extra_args: --debug --only-verified
- name: Install SQLite
run: apt-get update && apt-get upgrade -y && apt-get install -y tar gzip sqlite3 build-essential
- name: Build test
run: go build .
- name: Run test
run: go test -v -coverprofile=coverage.out -covermode=atomic ./...
- uses: codecov/codecov-action@v3