-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Done with pin-github-action <https://github.com/mheap/pin-github-action> 1.8.0 using `npx pin-github-action .github/workflows/*.yml`. Dependabot should support updating in the same fashion <dependabot/dependabot-core#8277 (comment)>. Had to `export GH_ADMIN_TOKEN=github_pat_…` using a fine-grained personal access tokens with no extra access to work around rate limiting *and* to be able to work in private repos <mheap/pin-github-action#73>.
- Loading branch information
Showing
2 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,18 +17,18 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1 | ||
- name: Setup Pages | ||
uses: actions/[email protected] | ||
- uses: cachix/install-nix-action@v23 | ||
- uses: cachix/cachix-action@v12 | ||
uses: actions/configure-pages@f156874f8191504dae5b037505266ed5dda6c382 # pin@v3.0.6 | ||
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # pin@v23 | ||
- uses: cachix/cachix-action@6a9a34cdd93d0ae4b4b59fd678660efb08109f2f # pin@v12 | ||
with: | ||
name: linz | ||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | ||
- name: Build with Jekyll | ||
run: nix-shell --pure --run 'github-pages build --verbose' | ||
- name: Upload artifact | ||
uses: actions/[email protected] | ||
uses: actions/upload-pages-artifact@a753861a5debcf57bf8b404356158c8e1e33150c # pin@v2.0.0 | ||
|
||
deploy: | ||
if: | ||
|
@@ -45,4 +45,4 @@ jobs: | |
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/[email protected] | ||
uses: actions/deploy-pages@9dbe3824824f8a1377b8e298bafde1a50ede43e5 # pin@v2.0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,19 +9,19 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected] | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1 | ||
with: | ||
fetch-depth: 0 # Enable gitlint to check all PR commit messages | ||
|
||
- uses: cachix/install-nix-action@v23 | ||
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # pin@v23 | ||
|
||
- uses: cachix/cachix-action@v12 | ||
- uses: cachix/cachix-action@6a9a34cdd93d0ae4b4b59fd678660efb08109f2f # pin@v12 | ||
with: | ||
name: linz | ||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | ||
|
||
- name: Cache pre-commit | ||
uses: actions/[email protected] | ||
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # pin@v3.3.2 | ||
with: | ||
path: ~/.cache/pre-commit | ||
key: | ||
|
@@ -44,11 +44,11 @@ jobs: | |
working-directory: machine-readable-to-human-readable-date-time | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected] | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1 | ||
|
||
- uses: cachix/install-nix-action@v23 | ||
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # pin@v23 | ||
|
||
- uses: cachix/cachix-action@v12 | ||
- uses: cachix/cachix-action@6a9a34cdd93d0ae4b4b59fd678660efb08109f2f # pin@v12 | ||
with: | ||
name: linz | ||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | ||
|
@@ -71,11 +71,11 @@ jobs: | |
- "2" | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected] | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1 | ||
|
||
- uses: cachix/install-nix-action@v23 | ||
- uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # pin@v23 | ||
|
||
- uses: cachix/cachix-action@v12 | ||
- uses: cachix/cachix-action@6a9a34cdd93d0ae4b4b59fd678660efb08109f2f # pin@v12 | ||
with: | ||
name: linz | ||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | ||
|
@@ -117,10 +117,10 @@ jobs: | |
pip-cache-dir: ~\AppData\Local\pip\Cache | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected] | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4.1.1 | ||
|
||
- name: Cache pip packages | ||
uses: actions/[email protected] | ||
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # pin@v3.3.2 | ||
with: | ||
path: ${{ matrix.pip-cache-dir }} | ||
key: | ||
|
@@ -131,7 +131,7 @@ jobs: | |
${{ runner.os }}-pip-${{ secrets.CACHE_SEED }}-${{ matrix.python }} | ||
|
||
- name: Cache Conda packages | ||
uses: actions/[email protected] | ||
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # pin@v3.3.2 | ||
with: | ||
path: ~/conda_pkgs_dir | ||
key: | ||
|
@@ -147,7 +147,7 @@ jobs: | |
echo "GDAL_VERSION=$GDAL_VERSION" >> $GITHUB_ENV | ||
- name: Setup Conda | ||
uses: conda-incubator/[email protected] | ||
uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3 # pin@v2.2.0 | ||
with: | ||
channels: conda-forge | ||
python-version: ${{ matrix.python }} | ||
|
@@ -163,7 +163,7 @@ jobs: | |
- name: | ||
Install Python packages on Windows runner (Workaround for | ||
https://github.com/python-poetry/poetry/issues/1031) | ||
uses: nick-fields/[email protected] | ||
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # pin@v2.9.0 | ||
with: | ||
timeout_minutes: 9999 # Workaround for https://github.com/nick-fields/retry/issues/107 | ||
max_attempts: 6 | ||
|
@@ -188,6 +188,6 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Decide whether the needed jobs succeeded or failed | ||
uses: re-actors/[email protected] | ||
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # pin@v1.2.2 | ||
with: | ||
jobs: ${{ toJSON(needs) }} |