Skip to content

ensure default search order of first in first out (#11) #36

ensure default search order of first in first out (#11)

ensure default search order of first in first out (#11) #36

Workflow file for this run

#
# Do not edit. This file was generated via the "workflow" command line tool.
# More information about the tool can be found at github.com/xh3b4sd/workflow.
#
# workflow create golang
#
name: "go-build"
on: "push"
jobs:
go-build:
runs-on: "ubuntu-latest"
steps:
- name: "Setup Git Project"
uses: "actions/checkout@v4"
- name: "Setup Go Env"
uses: "actions/setup-go@v4"
with:
cache: true
go-version: "1.21.1"
- name: "Check Go Dependencies"
run: |
go mod tidy
git diff --exit-code
- name: "Check Go Tests"
run: |
go test ./... -race
- name: "Check Go Formatting"
run: |
test -z $(gofmt -l -s .)
- name: "Check Go Linters"
run: |
curl -LOs https://github.com/golangci/golangci-lint/releases/download/v1.54.2/golangci-lint-1.54.2-linux-amd64.tar.gz
tar -xzf golangci-lint-1.54.2-linux-amd64.tar.gz
./golangci-lint-1.54.2-linux-amd64/golangci-lint run