Skip to content

Improve(hosts): use more meaningful name for host name #394

Improve(hosts): use more meaningful name for host name

Improve(hosts): use more meaningful name for host name #394

Workflow file for this run

name: Go
on:
push:
branches: [ $default-branch, "develop" ]
pull_request:
branches: [ $default-branch, "develop" ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: '1.19'
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup golangci-lint
uses: golangci/[email protected]
with:
version: v1.52.2
args: --verbose
test:
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Generate SSH key
run: ssh-keygen -f ~/.ssh/id_rsa -P ""
- name: Test
run: make test
build:
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Build
run: go build -v ./...