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
40 changes: 40 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Please see the documentation for all configuration options:
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "daily"
reviewers:
- "warpdotdev/tech-leads"
# Only send security updates, not general version updates.
open-pull-requests-limit: 0
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
reviewers:
- "warpdotdev/tech-leads"
cooldown:
# Don't update to any action release that is less than two weeks old.
default-days: 14
groups:
# Group all non-major updates of official actions together - they're lower-risk.
official-actions:
applies-to: version-updates
patterns:
- "actions/*"
update-types:
- "minor"
- "patch"
# Group all non-major updates of Namespace actions together - they're lower-risk.
namespace-actions:
applies-to: version-updates
patterns:
- "namespacelabs/*"
- "namespace-actions/*"
update-types:
- "minor"
- "patch"
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Setup SSH keys for private crates
uses: webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555 # v0.10.0
with:
ssh-private-key: ${{ secrets.WARP_MACHINE_USER_SSH_PRIVATE_KEY }}

- name: Run cargo fmt
run: cargo fmt --check

- name: Run cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings

- name: Install cargo nextest
uses: taiki-e/install-action@055f5df8c3f65ea01cd41e9dc855becd88953486 # v2.75.18
with:
tool: nextest

- name: Run tests
run: cargo nextest run --workspace --no-tests=warn
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/target

# IDE things
.idea/*

# DS_STORE
.DS_STORE
Loading