feat: add RPM/DEB package builds for amd64, arm64 #203
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: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main ] | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| checks: write | |
| jobs: | |
| golangci: | |
| name: Go Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: 'go.mod' | |
| cache: false | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version: v2.1.6 | |
| args: --timeout=5m | |
| actionlint: | |
| name: Action Lint | |
| runs-on: ubuntu-latest | |
| continue-on-error: true # Don't fail CI on workflow formatting | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Check workflow files | |
| uses: docker://rhysd/actionlint:latest | |
| with: | |
| args: -color | |
| markdown: | |
| name: Markdown Lint | |
| runs-on: ubuntu-latest | |
| continue-on-error: true # Don't fail CI on documentation formatting | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Lint markdown files | |
| uses: DavidAnson/markdownlint-cli2-action@v22 | |
| with: | |
| globs: | | |
| **/*.md | |
| !node_modules/** | |
| yaml: | |
| name: YAML Lint | |
| runs-on: ubuntu-latest | |
| continue-on-error: true # Don't fail CI on YAML formatting | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Lint YAML files | |
| uses: karancode/yamllint-github-action@master | |
| with: | |
| yamllint_file_or_dir: '.' | |
| yamllint_strict: false | |
| yamllint_comment: true |