diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml deleted file mode 100644 index 5f66659..0000000 --- a/.github/workflows/nix.yml +++ /dev/null @@ -1,72 +0,0 @@ -name: nix - -on: - pull_request: - branches: [ "main" ] - paths: - - '**.nix' - - 'go.mod' - - 'go.sum' - - 'flake.lock' - push: - branches: [ "main" ] - paths: - - '**.nix' - - 'go.mod' - - 'go.sum' - - 'flake.lock' - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23 - with: - extra_nix_config: | - access-tokens = github.com=${{ github.token }} - - run: nix flake check -L --show-trace --keep-going - - fmt: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23 - with: - extra_nix_config: | - access-tokens = github.com=${{ github.token }} - - run: nix fmt - - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23 - with: - extra_nix_config: | - access-tokens = github.com=${{ github.token }} - - uses: cachix/cachix-action@v12 - continue-on-error: true - with: - name: haraldh - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - - run: nix build -L . - - develop: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23 - with: - extra_nix_config: | - access-tokens = github.com=${{ github.token }} - - uses: cachix/cachix-action@v12 - continue-on-error: true - with: - name: haraldh - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - - run: nix develop -L -c go test ./... diff --git a/flake.lock b/flake.lock deleted file mode 100644 index fa4f541..0000000 --- a/flake.lock +++ /dev/null @@ -1,65 +0,0 @@ -{ - "nodes": { - "gitignore": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1694102001, - "narHash": "sha256-vky6VPK1n1od6vXbqzOXnekrQpTL4hbPAwUhT5J9c9E=", - "owner": "hercules-ci", - "repo": "gitignore.nix", - "rev": "9e21c80adf67ebcb077d75bd5e7d724d21eeafd6", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "gitignore.nix", - "type": "github" - } - }, - "mynixpkgs": { - "locked": { - "lastModified": 1694694534, - "narHash": "sha256-8xmRrzjyT3ZWt+sCegaKRx+PIkB1W69G+CBz3Atf35A=", - "owner": "haraldh", - "repo": "nixpkgs", - "rev": "15d456e58b39f691d4815101723d2a767853f8da", - "type": "github" - }, - "original": { - "owner": "haraldh", - "ref": "intel-dcap-openssl", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1694499547, - "narHash": "sha256-R7xMz1Iia6JthWRHDn36s/E248WB1/je62ovC/dUVKI=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "e5f018cf150e29aac26c61dac0790ea023c46b24", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-23.05", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "gitignore": "gitignore", - "mynixpkgs": "mynixpkgs", - "nixpkgs": "nixpkgs" - } - } - }, - "root": "root", - "version": 7 -}