Skip to content

feat: add command to locally sign the niteo GPG key in the installati… #263

feat: add command to locally sign the niteo GPG key in the installati…

feat: add command to locally sign the niteo GPG key in the installati… #263

Workflow file for this run

# Run all tests, linters, code analysis and other QA tasks on
# every push to master and PRs.
#
# To SSH into the runner to debug a failure, add the following step before
# the failing step
# - uses: mxschmitt/action-tmate@v3
# with:
# install-dependencies: false
name: Unit Tests
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
# Prevent multiple jobs running after fast subsequent pushes
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
dependabot:
needs: [test]
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
steps:
- id: metadata
uses: dependabot/fetch-metadata@dbb049abf0d677abbd7f7eee0375145b417fdd34 # v2.2.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- run: |
gh pr review --approve "$PR_URL"
gh pr merge --squash --auto "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
test:
name: Tests
runs-on: namespace-profile-pareto-linux
steps:
- uses: namespacelabs/nscloud-checkout-action@b8c45d632ce8118a5a0a51eb75a57cfccc74b8fa # v5.0.3
- uses: ./.github/actions/devenv
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: devenv test -d