use tar output for build func #1506
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 Lint and Sync | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: golangci-lint run | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.52.2 | |
skip-pkg-cache: true | |
skip-build-cache: true | |
args: --timeout=5m0s -v | |
bash-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run Shellcheck | |
uses: azohra/[email protected] | |
with: | |
severity: "error" | |
go-mod-tidy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- name: go mod tidy | |
run: | | |
./scripts/ci/check_go_modules.sh | |
sync-readme: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: sync readme | |
run: | | |
./scripts/ci/check_readme_in_sync.sh |