This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
Fix broken link in readme #1202
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: 'Examples: Console' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@5c56cd6c9dc07901af25baab6f2b0d9f3b7c3018 | |
with: | |
version: v1.45.2 | |
working-directory: examples/console | |
skip-go-installation: true | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1 | |
- name: Build | |
working-directory: examples/console | |
run: go build ./... | |
- name: Build Tests | |
working-directory: examples/console | |
run: go test -exec=echo ./... |