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
38 changes: 38 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/"
schedule:
interval: weekly
groups:
rust-deps:
patterns: ["*"]

- package-ecosystem: cargo
directory: "/opr8r"
schedule:
interval: weekly
groups:
opr8r-deps:
patterns: ["*"]

- package-ecosystem: npm
directory: "/vscode-extension"
schedule:
interval: weekly
groups:
vscode-deps:
patterns: ["*"]

- package-ecosystem: bundler
directory: "/docs"
schedule:
interval: weekly

- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
groups:
actions:
patterns: ["*"]
3 changes: 3 additions & 0 deletions .github/workflows/backstage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ concurrency:
group: backstage-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'

jobs:
app-ci:
runs-on: ubuntu-latest
Expand Down
45 changes: 40 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ on:

env:
CARGO_TERM_COLOR: always
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'

permissions:
contents: write
Expand All @@ -38,7 +39,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install toolchain
uses: dtolnay/rust-toolchain@1.85.0
uses: dtolnay/rust-toolchain@1.88.0
with:
components: rustfmt, clippy

Expand All @@ -61,6 +62,13 @@ jobs:
- name: Tests
run: cargo test --all-features

- name: cargo-deny
uses: EmbarkStudios/cargo-deny-action@v2
with:
manifest-path: Cargo.toml
arguments: --all-features
command: check

coverage:
needs: lint-test
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
Expand All @@ -69,7 +77,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@1.85.0
uses: dtolnay/rust-toolchain@1.88.0
with:
components: llvm-tools-preview

Expand Down Expand Up @@ -130,7 +138,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install toolchain
uses: dtolnay/rust-toolchain@1.85.0
uses: dtolnay/rust-toolchain@1.88.0

- name: Install tmux
run: sudo apt-get update && sudo apt-get install -y tmux
Expand Down Expand Up @@ -159,6 +167,33 @@ jobs:
tmux list-sessions -F '#{session_name}' 2>/dev/null | grep '^op' | xargs -I {} tmux kill-session -t {} || true
zellij delete-all-sessions --yes --force 2>/dev/null || true

relay-integration:
needs: lint-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install toolchain
uses: dtolnay/rust-toolchain@1.88.0

- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-relay-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-relay-

- name: Build opr8r (provides relay subcommand)
run: cargo build --manifest-path opr8r/Cargo.toml

- name: Run relay integration tests
env:
OPERATOR_RELAY_INTEGRATION_TEST_ENABLED: 'true'
run: cargo test --test relay_integration -- --nocapture --test-threads=1

build:
needs: lint-test
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
Expand Down Expand Up @@ -187,7 +222,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install toolchain
uses: dtolnay/rust-toolchain@1.85.0
uses: dtolnay/rust-toolchain@1.88.0
with:
targets: ${{ matrix.target }}

Expand Down Expand Up @@ -328,7 +363,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@1.85.0
uses: dtolnay/rust-toolchain@1.88.0

- name: Cache cargo registry
uses: actions/cache@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ concurrency:
group: "pages"
cancel-in-progress: false

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'

jobs:
build-and-deploy:
runs-on: ubuntu-latest
Expand All @@ -30,7 +33,7 @@ jobs:

# Install Rust toolchain for docs generation
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@1.85.0
uses: dtolnay/rust-toolchain@1.88.0

# Cache cargo for faster builds
- name: Cache cargo
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/integration-tests-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ on:
type: boolean
default: true

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'

jobs:
# ============================================================================
# BUILD ARTIFACTS FIRST
Expand All @@ -74,7 +77,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@1.85.0
uses: dtolnay/rust-toolchain@1.88.0

- name: Cache cargo
uses: actions/cache@v4
Expand Down Expand Up @@ -119,7 +122,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@1.85.0
uses: dtolnay/rust-toolchain@1.88.0

- name: Cache cargo
uses: actions/cache@v4
Expand Down Expand Up @@ -175,7 +178,7 @@ jobs:
run: brew install tmux

- name: Install Rust
uses: dtolnay/rust-toolchain@1.85.0
uses: dtolnay/rust-toolchain@1.88.0

- name: Cache cargo
uses: actions/cache@v4
Expand Down Expand Up @@ -234,7 +237,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@1.85.0
uses: dtolnay/rust-toolchain@1.88.0

- name: Cache cargo
uses: actions/cache@v4
Expand Down Expand Up @@ -303,7 +306,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@1.85.0
uses: dtolnay/rust-toolchain@1.88.0

- name: Cache cargo
uses: actions/cache@v4
Expand Down Expand Up @@ -356,7 +359,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@1.85.0
uses: dtolnay/rust-toolchain@1.88.0

- name: Cache cargo
uses: actions/cache@v4
Expand Down Expand Up @@ -408,7 +411,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@1.85.0
uses: dtolnay/rust-toolchain@1.88.0

- name: Cache cargo
uses: actions/cache@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ on:
type: boolean
default: false

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'

jobs:
integration-tests:
runs-on: ubuntu-latest
Expand All @@ -58,7 +61,7 @@ jobs:
git remote set-head origin --auto || true

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@1.85.0
uses: dtolnay/rust-toolchain@1.88.0

- name: Cache cargo
uses: actions/cache@v4
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/opr8r.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ concurrency:
group: opr8r-${{ github.ref }}
cancel-in-progress: true

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'

jobs:
lint-test:
name: Lint & Test
Expand Down Expand Up @@ -52,6 +55,13 @@ jobs:
- name: Run tests
run: cargo test --all-features

- name: cargo-deny
uses: EmbarkStudios/cargo-deny-action@v2
with:
manifest-path: opr8r/Cargo.toml
arguments: --all-features
command: check

coverage:
name: Coverage
needs: lint-test
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/sign-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ on:
AZ_PIPELINE_DEFINITION_ID:
required: true

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'

jobs:
sign:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/vscode-extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ defaults:
run:
working-directory: vscode-extension

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'

jobs:
lint-test:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/zed-extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
- 'zed-extension/**'
- '.github/workflows/zed-extension.yaml'

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'

jobs:
lint-build:
name: Lint and Build
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Rust build artifacts
crates/**/target/
/target/
opr8r/target/
zed-extension/target/
Expand Down
Loading
Loading