pkg/blobserver/blobpacked: don't set zip entry DOS modtime on zero ti… #666
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
on: | |
push: | |
branches: | |
- "master" | |
pull_request: | |
# all PRs on all branches | |
name: "tests/lint" | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.21.x] | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- uses: actions/cache@v3 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: ${{ runner.os }}-go- | |
- name: Check for fmt compliance | |
run: | | |
go fmt ./... | |
test -z "$(git status --porcelain)" | |
- name: Go vet | |
run: go vet ./... | |
- name: Run staticcheck | |
run: make staticcheck | |
- name: Check for env vars documentation | |
run: go run dev/envvardoc/envvardoc.go |