chores: build muti-arch image with github action #452
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
name: Go | |
on: | |
push: | |
branches: "*" | |
pull_request: | |
branches: "*" | |
paths-ignore: | |
- 'docs/**' | |
- 'vendor/**' | |
- '*.md' | |
- '*.yml' | |
jobs: | |
build: | |
name: ubuntu - Go v1.18 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.18' | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.ref }} | |
path: src/github.com/alibaba/open-local | |
- name: Install go ci lint | |
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.47.3 | |
- name: Run Linter | |
run: golangci-lint run -v --timeout=10m | |
working-directory: src/github.com/alibaba/open-local | |