ci: lock workflow dependencies to increase reproducibility
Link: https://github.com/danth/stylix/pull/519
This commit is contained in:
parent
a0838923e4
commit
1aa931f6f1
2 changed files with 10 additions and 10 deletions
8
.github/workflows/docs.yml
vendored
8
.github/workflows/docs.yml
vendored
|
|
@ -12,18 +12,18 @@ jobs:
|
|||
permissions:
|
||||
contents: read
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@main
|
||||
uses: DeterminateSystems/nix-installer-action@v16
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
extra-conf: |
|
||||
extra-experimental-features = nix-command flakes
|
||||
|
||||
- name: Set up cache
|
||||
uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
uses: DeterminateSystems/magic-nix-cache-action@v8
|
||||
|
||||
- name: Build docs
|
||||
run: nix -L build github:${{ github.repository }}/${{ github.sha }}#docs
|
||||
|
|
@ -49,7 +49,7 @@ jobs:
|
|||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- name: Deploy docs to GitHub Pages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue