Skip to content

Commit

Permalink
Library improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
sarulabs committed Jul 11, 2024
1 parent e5b5f20 commit 503de3b
Show file tree
Hide file tree
Showing 31 changed files with 3,443 additions and 1,586 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Workflow

on:
push:
branches: [ "speed_improvements_wip" ]
pull_request:
branches: [ "master" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1

- name: Verify dependencies
run: go mod verify

- name: Build
run: go build -v ./...

- name: Run go vet
run: go vet ./...

- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest

- name: Run staticcheck
run: staticcheck ./...

- name: Install golint
run: go install golang.org/x/lint/golint@latest

- name: Run golint
run: golint ./...

- name: Run tests
run: go test -race -vet=off -covermode atomic -coverprofile=covprofile ./...

- name: Install goveralls
run: go install github.com/mattn/goveralls@latest

- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
run: goveralls -coverprofile=covprofile -service=github

build_old:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.16

- name: Run tests
run: go test -race ./...
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 503de3b

Please sign in to comment.