refactor: optimize some flags description #236
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: GosshCI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
gosshci: | |
name: Test with go ${{ matrix.go_version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
environment: | |
name: gosshCI | |
strategy: | |
matrix: | |
go_version: [1.21] | |
os: [ubuntu-latest] | |
steps: | |
- name: Set up Go ${{ matrix.go_version }} | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go_version }} | |
id: go | |
- name: Checkout codes | |
uses: actions/checkout@v2 | |
- name: Lint codes | |
run: | | |
make lint | |
- name: Run unit test and get test coverage | |
run: | | |
make cover | |
- name: Build binary for host platform | |
run: | | |
make build | |
- name: Install binary test | |
run: | | |
make install |