name: validate on: push: tags: - v* branches: - master - main - release-* pull_request: jobs: lint: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - name: install deps run: | sudo apt -q update sudo apt -q install libseccomp-dev - uses: golangci/golangci-lint-action@v7 with: version: v2.1 codespell: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - name: install deps # Version of codespell bundled with Ubuntu will become old, so use pip. # OTOH, we want to pin it to specific version to avoid breaking CI. run: pip install --break-system-packages codespell==v2.4.1 - name: run codespell run: codespell all-done: needs: - lint - codespell runs-on: ubuntu-24.04 steps: - run: echo "All jobs completed"