Skip to content

api: fix socket interface #543

api: fix socket interface

api: fix socket interface #543

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.20.5
- name: Build
run: |
pushd cmcd
make
popd
pushd testtool
make
popd
- name: Vet Check
run: go vet ./...
- name: Format Check
run: go fmt ./...
- name: Static Check
uses: dominikh/[email protected]
with:
version: "latest"
install-go: false
- name: Misspell Check
run: |
go install github.com/client9/misspell/cmd/misspell@latest
misspell .
- name: Test
run: go test ./...
- name: "Upload cmcd"
uses: actions/upload-artifact@v2
with:
name: cmcd
path: cmcd/cmcd
- name: "Upload testtool"
uses: actions/upload-artifact@v2
with:
name: testtool
path: testtool/testtool
- name: "Upload cmc-converter"
uses: actions/upload-artifact@v2
with:
name: cmc-converter
path: tools/cmc-conveter/cmc-converter
- name: "Upload cmc-signing-tool"
uses: actions/upload-artifact@v2
with:
name: cmc-signing-tool
path: tools/signing-tool/signing-tool