Skip to content

update deps

update deps #189

Workflow file for this run

on: [pull_request]
name: Test
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.21.4
- 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
go mod vendor
- name: Checking Format and Testing
run: make check
- name: Build
run: make build
darwin:
needs: linux
runs-on: macos-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.21.4
- 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
go mod vendor
- name: Checking Format and Testing
run: make check
- name: Build
run: make build
windows:
needs: linux
runs-on: windows-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.21.4
- uses: actions/checkout@v3
- name: Install Requirements
run: |
choco install make
go install github.com/golangci/golangci-lint/cmd/[email protected]
go mod vendor
- name: Testing
run: |
set GO111MODULE=on
make test-windows
- name: Build
run: make build-windows