Skip to content

Commit

Permalink
Merge pull request #89 from mrcjkb/flake-lock-action
Browse files Browse the repository at this point in the history
ci: fix flake-lock update action
  • Loading branch information
AaronErhardt authored Jun 16, 2024
2 parents a56b3f9 + 83b403d commit d006b50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/nix-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ jobs:
- .#packages.x86_64-linux.tailor-gui
- .#checks.x86_64-linux.formatting
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v12
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v12
- name: Set up cachix
uses: cachix/cachix-action@v15
with:
name: tuxedo-rs
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v16
with:
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
uses: DeterminateSystems/nix-installer-action@v12
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v12
uses: DeterminateSystems/update-flake-lock@v22
with:
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
pr-title: "chore: update flake.lock" # Title of PR to be created
Expand Down

0 comments on commit d006b50

Please sign in to comment.