replace dmsgget with dmsgcurl lib #356
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
on: [pull_request] | |
name: Test | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
- uses: actions/checkout@v3 | |
- name: Install Requirements | |
run: | | |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.52.1 | |
make dep | |
chmod +x ./ci_scripts/create-ip-aliases.sh | |
./ci_scripts/create-ip-aliases.sh | |
shell: bash | |
- name: Checking Format and Testing | |
run: make check | |
- name: Build | |
run: make build | |
darwin: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
- uses: actions/checkout@v3 | |
- name: Install Requirements | |
run: | | |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.52.1 | |
make dep | |
chmod +x ./ci_scripts/create-ip-aliases.sh | |
./ci_scripts/create-ip-aliases.sh | |
shell: bash | |
- name: Checking Format and Testing | |
run: make check | |
- name: Build | |
run: make build | |
windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
- uses: actions/checkout@v3 | |
- name: Install Requirements | |
run: | | |
choco install make | |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.1 | |
make dep | |
- name: Testing | |
run: | | |
set GO111MODULE=on | |
make test-windows | |
- name: Build | |
run: make build-windows |