enable non index updates of sorted set elements (#7) #24
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
# | |
# 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 |