refactor : Use strongunits.B
, strongunits.MiB
and strongunits.GiB
to store memory size (#1642)
#3340
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: Run 'make check' on Windows | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: {} | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- windows-2022 | |
go: | |
- '1.22' | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Disable gofmt/goimports linters on Windows | |
run: sed -i "/gofmt/d" .golangci.yml && sed -i "/goimports/d" .golangci.yml | |
shell: bash | |
- name: make check | |
run: make check |