Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
secret-scan:
runs-on: [self-hosted, linux, dev-substrate]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -19,20 +19,10 @@ jobs:
TMPDIR: ${{ runner.temp }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_CONFIG: .gitleaks.toml
# The action's upload has no retention input, so the next step uploads the report.
GITLEAKS_ENABLE_UPLOAD_ARTIFACT: false
- name: Preserve gitleaks report
# Upload only this run's report. The self-hosted workspace can hold an older one.
if: ${{ !cancelled() && steps.gitleaks.outcome != 'skipped' }}
uses: actions/upload-artifact@v4
with:
name: gitleaks-results.sarif
path: results.sarif
if-no-files-found: ignore
retention-days: 7

check:
runs-on: [self-hosted, linux, dev-substrate]
runs-on: ubuntu-latest
needs: secret-scan
steps:
- uses: actions/checkout@v4
Expand All @@ -42,6 +32,8 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy,rustfmt
- name: Install the PAM headers bws-tui links against
run: sudo apt-get update -qq && sudo apt-get install -y -qq libpam0g-dev
- name: Install job-scoped Bun
env:
BUN_JOB_DIR: ${{ runner.temp }}/bun
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/hush-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,3 @@ jobs:
raise SystemExit('Release binary contains the UI test harness')
PY
python3 scripts/check-sqlite.py .build/ReleaseCheck/Build/Products/Release-iphoneos/Hush.app/Hush
- name: Preserve test results
if: always()
uses: actions/upload-artifact@v4
with:
name: hush-ios-tests
path: hush-ios/.build/results/*.xcresult
if-no-files-found: ignore
retention-days: 7
2 changes: 1 addition & 1 deletion .github/workflows/pr-kit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
github.actor != 'dependabot[bot]' &&
github.event.pull_request.head.repo.full_name == github.repository &&
github.event.pull_request.user.login != 'dependabot[bot]'
runs-on: [self-hosted, linux, dev-substrate]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand Down
Loading