about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--templates/go/.drone.yml32
-rw-r--r--templates/rust/.drone.yml33
-rw-r--r--templates/rust/.github/dependabot.yml11
-rw-r--r--templates/rust/.github/workflows/build.yml37
4 files changed, 0 insertions, 113 deletions
diff --git a/templates/go/.drone.yml b/templates/go/.drone.yml
deleted file mode 100644
index 13b4026..0000000
--- a/templates/go/.drone.yml
+++ /dev/null
@@ -1,32 +0,0 @@
----
-kind: pipeline
-type: docker
-name: checks
-
-trigger:
-  event:
-    - push
-    - pull_request
-
-steps:
-  - name: Run checks
-    image: nixpkgs/nix-flakes:nixos-22.11
-    commands:
-      - nix develop --command pre-commit run --verbose --hook-stage commit --all-files --show-diff-on-failure
-
----
-kind: pipeline
-type: docker
-name: build
-
-trigger:
-  event:
-    - push
-    - pull_request
-
-steps:
-  - name: Run tests and build
-    image: nixpkgs/nix-flakes:nixos-22.11
-    commands:
-      - nix develop --command go test -race ./...
-      - nix build
diff --git a/templates/rust/.drone.yml b/templates/rust/.drone.yml
deleted file mode 100644
index ac03e81..0000000
--- a/templates/rust/.drone.yml
+++ /dev/null
@@ -1,33 +0,0 @@
----
-kind: pipeline
-type: docker
-name: checks
-
-trigger:
-  event:
-    - push
-    - pull_request
-
-steps:
-  - name: Run checks
-    image: nixpkgs/nix-flakes:nixos-22.05
-    commands:
-      - nix develop --command cargo fmt --check
-      - nix develop --command cargo deny check
-      - nix develop --command cargo clippy -- -D warnings
----
-kind: pipeline
-type: docker
-name: build
-
-trigger:
-  event:
-    - push
-    - pull_request
-
-steps:
-  - name: Run tests and build
-    image: nixpkgs/nix-flakes:nixos-22.05
-    commands:
-      - nix develop --command cargo test
-      - nix build .
diff --git a/templates/rust/.github/dependabot.yml b/templates/rust/.github/dependabot.yml
deleted file mode 100644
index 2b2ebcf..0000000
--- a/templates/rust/.github/dependabot.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-version: 2
-updates:
-- package-ecosystem: cargo
-  directory: "/"
-  schedule:
-    interval: daily
-  open-pull-requests-limit: 10
-- package-ecosystem: "github-actions"
-  directory: "/"
-  schedule:
-    interval: "weekly"
diff --git a/templates/rust/.github/workflows/build.yml b/templates/rust/.github/workflows/build.yml
deleted file mode 100644
index 202cfec..0000000
--- a/templates/rust/.github/workflows/build.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-name: XXX CI
-
-on:
-  push:
-
-jobs:
-  check:
-    name: Check
-    runs-on: ubuntu-latest
-    steps:
-      - name: git checkout
-        uses: actions/checkout@v3
-      - name: install nix
-        uses: cachix/install-nix-action@v17
-      # This is a workaround for https://github.com/oxalica/rust-overlay/issues/54,
-      # avoiding link errors when running cargo commands with `nix develop`.
-      - name: Remove existing binaries from ~/.cargo/bin
-        run: rm --recursive --force --verbose ~/.cargo/bin
-      - name: check rust formatting
-        run: nix develop --command cargo fmt --check
-      - name: audit rust code
-        run: nix develop --command cargo-deny check
-      - name: clippy
-        run: nix develop --command cargo clippy -- -D warnings
-
-  test_and_build:
-    name: Test and build
-    runs-on: ubuntu-latest
-    steps:
-      - name: git checkout
-        uses: actions/checkout@v3
-      - name: install nix
-        uses: cachix/install-nix-action@v17
-      - name: test
-        run: nix develop --command cargo test
-      - name: build
-        run: nix build .