mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-08-03 12:27:27 -05:00
Update GH actions
This commit is contained in:
10
.github/workflows/check-build.yml
vendored
10
.github/workflows/check-build.yml
vendored
@ -10,17 +10,13 @@ jobs:
|
|||||||
name: Flake Check (x86_64 only)
|
name: Flake Check (x86_64 only)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# Nix Flakes doesn't work on shallow clones
|
# Nix Flakes doesn't work on shallow clones
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: cachix/install-nix-action@v12
|
- uses: cachix/install-nix-action@v17
|
||||||
with:
|
|
||||||
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-2.4pre20201221_9fab14a/install
|
|
||||||
extra_nix_config: |
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
- name: Retrieve /nix/store archive
|
- name: Retrieve /nix/store archive
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
id: cache-nix-store
|
id: cache-nix-store
|
||||||
with:
|
with:
|
||||||
path: nix-store.dump
|
path: nix-store.dump
|
||||||
|
16
.github/workflows/update-dependencies.yml
vendored
16
.github/workflows/update-dependencies.yml
vendored
@ -8,15 +8,11 @@ jobs:
|
|||||||
name: Update dependencies
|
name: Update dependencies
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# Nix Flakes doesn't work on shallow clones
|
# Nix Flakes doesn't work on shallow clones
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: cachix/install-nix-action@v12
|
- uses: cachix/install-nix-action@v17
|
||||||
with:
|
|
||||||
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-2.4pre20201221_9fab14a/install
|
|
||||||
extra_nix_config: |
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
- name: Create PRs for dependencies
|
- name: Create PRs for dependencies
|
||||||
env:
|
env:
|
||||||
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@ -41,15 +37,11 @@ jobs:
|
|||||||
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
|
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
|
||||||
git config --global init.defaultBranch main
|
git config --global init.defaultBranch main
|
||||||
git config --global pull.rebase false
|
git config --global pull.rebase false
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# Nix Flakes doesn't work on shallow clones
|
# Nix Flakes doesn't work on shallow clones
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: cachix/install-nix-action@v12
|
- uses: cachix/install-nix-action@v17
|
||||||
with:
|
|
||||||
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-2.4pre20201221_9fab14a/install
|
|
||||||
extra_nix_config: |
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
- name: Run test_dep_update
|
- name: Run test_dep_update
|
||||||
env:
|
env:
|
||||||
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Reference in New Issue
Block a user