fix: use size of Base64-encoded ID to calculate ballot length for decryption #326
Workflow file for this run
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
name: Go Unit Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
test: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Use Go 1.20 | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Run lint | |
run: make lint | |
- name: Run vet | |
run: make vet | |
- name: Test all, except integration, with coverage | |
run: | | |
go test $(go list ./... | grep -v /integration) |