[feature] Implement metadata storage in daily directory names and fast path for list target #71
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: CI Build / Test (Pull Request) | |
on: | |
- pull_request | |
jobs: | |
build-linux: | |
name: Build / Test on Linux | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ^1.22 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Build for AMD64 | |
run: GOOS=linux GOARCH=amd64 go build -tags jsoniter -v ./... | |
- name: Build for AMD64 (Production Mode) | |
run: GOOS=linux GOARCH=amd64 go build -tags jsoniter,slimcap_nomock -v ./... | |
- name: Build for AMD64 (No-GCO Mode) | |
run: GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -tags jsoniter -v ./... | |
- name: Test | |
run: | | |
go test -tags jsoniter -v ./... -covermode=atomic -coverprofile=coverage.out | |
go tool cover -func=coverage.out -o=coverage.out | |
- name: Test (No-CGO Mode) | |
run: | | |
CGO_ENABLED=0 go test -tags jsoniter -v ./... | |
- name: Test (Production Mode) | |
run: | | |
go test -tags jsoniter,slimcap_nomock -v ./... | |
- name: Race Detector | |
run: | | |
go test -tags jsoniter -race -v ./... | |