Skip to content

Commit

Permalink
try to free up some build space
Browse files Browse the repository at this point in the history
  • Loading branch information
willruggiano committed Apr 2, 2024
1 parent ea2795d commit d867604
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,22 @@ jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: easimon/maximize-build-space@master
with:
remove-android: true
remove-codeql: true
remove-docker-images: true
remove-dotnet: true
remove-haskell: true
- uses: actions/checkout@v4
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: cachix/install-nix-action@v25
- uses: cachix/install-nix-action@v26
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
accept-flake-config = true
- uses: cachix/cachix-action@v14
with:
name: willruggiano
Expand All @@ -32,6 +41,6 @@ jobs:
- run: nix build --accept-flake-config
- run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'willruggiano@users.noreply.github.com'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git commit -am 'chore: 🌶️🌶️🌶️' || exit 0
git push
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
name = "update.sh";
runtimeInputs = with pkgs; [niv];
text = ''
nix flake update &&
nix flake update --accept-flake-config &&
niv update &&
nix run .#nvim-treesitter.update-grammars -- ./pkgs/nvim-treesitter
'';
Expand Down

0 comments on commit d867604

Please sign in to comment.