WIP - Smartcard support #178
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 | |
on: | |
push: | |
branches: [ main ] | |
tags: [ v** ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- name: Checks | |
run: make checks | |
- name: Unit Tests | |
run: make unit-tests | |
- name: Race test | |
run: make unit-tests-race | |
- name: Build Binaries | |
run: make binaries | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: binaries | |
path: | | |
bin/ | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
bin/amd64/idemixgen | |
bin/arm64/idemixgen |