chore(deps): bump golang.org/x/crypto from 0.0.0-20210513164829-c07d793c2f9a to 0.1.0 #38
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@v4 | |
with: | |
go-version: '1.20' | |
- uses: actions/checkout@v3 | |
- name: Lint | |
run: | | |
go install honnef.co/go/tools/cmd/staticcheck@v0.4.3 | |
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 release | |
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 }} |