fix(binarly): add output line to logs #667
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: Tests | |
on: [push] | |
jobs: | |
linters: | |
name: linters | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19 | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_KEY }} | |
- name: Setup gitconfig and ssh | |
run: | | |
git config --global url."[email protected]:".insteadOf "https://github.com/" | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.52.2 | |
- name: Check if dependencies are up-to-date | |
env: | |
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | |
run: | | |
go mod tidy | |
go mod verify | |
git status | |
if [[ -n "$(git status --porcelain)" ]]; then | |
echo 'go.mod/sum is out-of-date: run `go mod tidy` and then check in the changes' | |
echo 'If `go mod tidy` results in no changes, make sure you are using the latest 1.19 release of Go' | |
exit 1 | |
fi |