Skip to content

fix: replacing crc32 by sha256 hash sum and making sure it doesn't re… #84

fix: replacing crc32 by sha256 hash sum and making sure it doesn't re…

fix: replacing crc32 by sha256 hash sum and making sure it doesn't re… #84

Workflow file for this run

name: Build and Test
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
- name: Granting private modules access
run: |
git config --global url."https://${{ secrets.GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/"
- name: Run unit tests
run: go test -failfast -coverprofile=profile.cov
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=profile.cov -service=github