feat: donot unpack image when upload #130
Workflow file for this run
This file contains hidden or 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: lint | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| golint: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: setup golang from container image | |
| run: | | |
| rm -rf /usr/local/go | |
| docker run --rm -v /usr/local:/sys_usr_local golang:1.17 cp -r /usr/local/go /sys_usr_local/ | |
| echo "PATH=/usr/local/go/bin:${PATH}" >> $GITHUB_ENV | |
| - uses: golangci/golangci-lint-action@v3 | |
| with: | |
| version: v1.56 | |
| only-new-issues: true | |
| skip-pkg-cache: true | |
| skip-build-cache: true # skip cache because of flaky behaviors | |
| commitlint: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - uses: wagoid/commitlint-github-action@v4 | |
| with: | |
| configFile: .commitlintrc.json |