mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 22:24:59 +08:00
reformat with treefmt
This commit is contained in:
parent
76aa784427
commit
7b60015dd5
5 changed files with 244 additions and 161 deletions
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
|
|
@ -5,14 +5,14 @@ on:
|
|||
branches:
|
||||
- master
|
||||
schedule:
|
||||
- cron: '51 2 * * *'
|
||||
- cron: "51 2 * * *"
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v30
|
||||
- name: Add keys group (needed for go tests)
|
||||
run: sudo groupadd keys
|
||||
- name: Run unit tests
|
||||
run: nix develop .#unit-tests --command "true"
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v30
|
||||
- name: Add keys group (needed for go tests)
|
||||
run: sudo groupadd keys
|
||||
- name: Run unit tests
|
||||
run: nix develop .#unit-tests --command "true"
|
||||
|
|
|
|||
12
.github/workflows/upgrade-flakes.yml
vendored
12
.github/workflows/upgrade-flakes.yml
vendored
|
|
@ -3,7 +3,7 @@ on:
|
|||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '51 2 * * 0'
|
||||
- cron: "51 2 * * 0"
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
|
@ -20,10 +20,10 @@ jobs:
|
|||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Update flakes
|
||||
run: |
|
||||
nix flake update
|
||||
pushd dev/private
|
||||
nix flake update
|
||||
popd
|
||||
nix run .#update-dev-private-narHash
|
||||
nix flake update
|
||||
pushd dev/private
|
||||
nix flake update
|
||||
popd
|
||||
nix run .#update-dev-private-narHash
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v7
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue