chore(deps): bump golang.org/x/crypto from 0.0.0-20210513164829-c07d793c2f9a to 0.1.0 #34
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: Test, build, and release | |
on: [push, pull_request] | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: 1.16 | |
- uses: actions/checkout@v2 | |
- name: Lint | |
run: | | |
go get honnef.co/go/tools/cmd/staticcheck@v0.2.0 | |
make lint | |
- run: make test-unit | |
- run: docker-compose up -d | |
- name: Ensure that node is running | |
run: | | |
while [[ `curl -s -o /dev/null -w %{http_code} localhost:3013/api` != 200 ]]; do | |
sleep 0.2; | |
done | |
- run: make test-integration | |
- name: Build | |
if: true != startsWith(github.ref, 'refs/tags/') | |
run: make build-release | |
- name: Build release | |
if: startsWith(github.ref, 'refs/tags/') | |
run: make build-release | |
- name: Publish release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
dist/windows.zip | |
dist/darwin.zip | |
dist/linux.zip | |
draft: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |