Skip to content

Commit

Permalink
Remove Nix (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-manges authored Feb 12, 2024
1 parent 03a6565 commit 7a01a6b
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 100 deletions.
6 changes: 0 additions & 6 deletions .envrc

This file was deleted.

6 changes: 2 additions & 4 deletions .github/workflows/continuous_delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v18
- uses: actions/setup-node@v4
with:
extra_nix_config: |
keep-derivations = true
keep-outputs = true
node-version-file: .node-version
- run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
Expand Down
24 changes: 10 additions & 14 deletions .github/workflows/continuous_integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v18
- uses: actions/setup-node@v4
with:
extra_nix_config: |
keep-derivations = true
keep-outputs = true
- run: |
nix develop --command npm clean-install
nix develop --command npm run build-check
node-version-file: .node-version
cache: npm
- run: npm install
- run: npm run build-check

test_default_version:
runs-on: ubuntu-latest
Expand All @@ -30,11 +28,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v18
- uses: actions/setup-node@v4
with:
extra_nix_config: |
keep-derivations = true
keep-outputs = true
- run: nix develop --command npm clean-install
- run: nix develop --command npm run lint-check
- run: nix fmt -- --check flake.nix
node-version-file: .node-version
cache: npm
- run: npm install
- run: npm run lint-check
8 changes: 2 additions & 6 deletions .github/workflows/merge_requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@ jobs:
if: ${{ github.base_ref == 'v1' }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v18
- uses: actions/setup-node@v4
with:
extra_nix_config: |
keep-derivations = true
keep-outputs = true
- run: nix-store --import < /tmp/nix-cache
if: "steps.nix-cache.outputs.cache-hit == 'true'"
node-version-file: .node-version
- run: |
newVersion=$(npm -j list setup-abq | jq -r .version)
majorVersion=$(echo $newVersion | awk -F '.' '{print $1}')
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.11.0
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 20.11.0
43 changes: 0 additions & 43 deletions flake.lock

This file was deleted.

24 changes: 0 additions & 24 deletions flake.nix

This file was deleted.

4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-abq",
"version": "1.0.15",
"version": "1.0.16",
"private": true,
"description": "This action installs the abq binary.",
"main": "dist/index.js",
Expand Down

0 comments on commit 7a01a6b

Please sign in to comment.