Skip to content

Commit

Permalink
Merge branch 'main' into djh/NDAT-821/service-name-as-input
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljharvey authored Sep 12, 2023
2 parents 6684dbf + 17826f9 commit fbf18c2
Show file tree
Hide file tree
Showing 16 changed files with 459 additions and 175 deletions.
3 changes: 3 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

source_env_if_exists ./.envrc.local
5 changes: 5 additions & 0 deletions .envrc.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

use flake

source_env ../.envrc
20 changes: 20 additions & 0 deletions .github/workflows/nix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: test Nix support

on: push

jobs:
evaluate-nix-shell:
name: Evaluate the Nix shell
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Install Nix ❄
uses: DeterminateSystems/nix-installer-action@v4

- name: Run the Magic Nix Cache 🔌
uses: DeterminateSystems/magic-nix-cache-action@v2

- name: Evaluate the Nix shell
run: nix develop -c "true"
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Rust
/target

# direnv
/.direnv
98 changes: 25 additions & 73 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"rust-connector-sdk",
]
Expand All @@ -7,4 +8,4 @@ members = [
debug = true

[profile.bench]
debug = true
debug = true
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.68.2-slim-buster AS build
FROM rust:1.70.0-slim-buster AS build

WORKDIR app

Expand Down
61 changes: 61 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fbf18c2

Please sign in to comment.