Update the installation instructions of the documentation #127
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: [push] | |
name: CI | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18.4 | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Build | |
run: | | |
sudo cp management_os/config/config.toml /etc/baas.toml | |
sudo /opt/hostedtoolcache/go/1.18.4/x64/bin/go test ./... | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18.4 | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
version: v1.31 | |
- name: Run linter | |
uses: golangci/golangci-lint-action@v2 |