docs: Add warning about deprecation of Docker Machine #29
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: Build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code of the project | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "stable" | |
- name: Fetch project dependencies | |
run: go mod download -x | |
- name: Check format of source files | |
run: test -z "$(gofmt -s -d . 2>&1 |tee /dev/stderr)" | |
- name: Check correctness of source files | |
run: go vet -v ./... | |
- name: Run tests | |
run: go test -v ./... | |
- name: Build project | |
run: go build -v ./... |