Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
763910b515 | |||
dca32e4317 | |||
c301978f0b | |||
97fcb5a420 | |||
724c49d056 | |||
7b5d225701 | |||
90fc0ee584 |
20
.github/workflows/nix-build.yml
vendored
Normal file
20
.github/workflows/nix-build.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: "Nix Build"
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: cachix/install-nix-action@v8
|
||||
- name: Cache nix store
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: /nix
|
||||
key: ${{ runner.os }}-nix-store
|
||||
- uses: cachix/cachix-action@v5
|
||||
with:
|
||||
name: hitsofcode
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
attributes: package
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -830,7 +830,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "hoc"
|
||||
version = "0.11.6"
|
||||
version = "0.11.7"
|
||||
dependencies = [
|
||||
"actix-rt",
|
||||
"actix-web",
|
||||
|
@ -27,7 +27,7 @@ in
|
||||
{
|
||||
cargo2nixVersion = "0.8.2";
|
||||
workspace = {
|
||||
hoc = rustPackages.unknown.hoc."0.11.5";
|
||||
hoc = rustPackages.unknown.hoc."0.11.7";
|
||||
};
|
||||
"registry+https://github.com/rust-lang/crates.io-index".actix-codec."0.2.0" = overridableMkRustCrate (profileName: rec {
|
||||
name = "actix-codec";
|
||||
@ -1144,9 +1144,9 @@ in
|
||||
};
|
||||
});
|
||||
|
||||
"unknown".hoc."0.11.5" = overridableMkRustCrate (profileName: rec {
|
||||
"unknown".hoc."0.11.7" = overridableMkRustCrate (profileName: rec {
|
||||
name = "hoc";
|
||||
version = "0.11.5";
|
||||
version = "0.11.7";
|
||||
registry = "unknown";
|
||||
src = fetchCrateLocal ./.;
|
||||
dependencies = {
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "hoc"
|
||||
version = "0.11.6"
|
||||
version = "0.11.7"
|
||||
authors = ["Valentin Brandl <vbrandl@riseup.net>"]
|
||||
edition = "2018"
|
||||
build = "build.rs"
|
||||
|
@ -39,13 +39,13 @@ rec {
|
||||
dockerImage =
|
||||
pkgs.dockerTools.buildImage {
|
||||
name = "vbrandl/hits-of-code";
|
||||
tag = "1";
|
||||
tag = package.version;
|
||||
|
||||
contents = [ package ];
|
||||
|
||||
config = {
|
||||
Cmd = [ "/bin/hoc" ];
|
||||
WorkingDir = "/";
|
||||
WorkingDir = "/home/hoc";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user