Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
bristermitten committed Oct 15, 2024
2 parents 21bfd24 + 2a3bed6 commit 1cf98f8
Show file tree
Hide file tree
Showing 13 changed files with 1,370 additions and 552 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/bump.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: bump
on:
workflow_dispatch:
schedule:
- cron: '45 6 * * 6'
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
bump-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v14
with:
name: tek
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}
- id: bounds
run: nix run .#bump -- --output=ga-pr --build-timeout=3600
- name: pr
if: steps.bounds.outputs.commit-message
uses: peter-evans/create-pull-request@v5
with: ${{ steps.bounds.outputs }}
22 changes: 22 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Flake checks
on: [push, pull_request]
permissions:
contents: read
id-token: write
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
extra-substituters = https://tek.cachix.org
extra-trusted-public-keys = tek.cachix.org-1:+sdc73WFq8aEKnrVv5j/kuhmnW2hQJuqdPJF5SnaCBk=
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v14
with:
name: tek
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}
- run: nix flake check
26 changes: 26 additions & 0 deletions .github/workflows/lower-init.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: lower-init
on: workflow_dispatch
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
lower-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v14
with:
name: tek
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}
- id: bounds
run: nix run .#lower.init -- --output=ga-pr --build-timeout=3600
- name: pr
if: steps.bounds.outputs.commit-message
uses: peter-evans/create-pull-request@v5
with: ${{ steps.bounds.outputs }}
26 changes: 26 additions & 0 deletions .github/workflows/lower-optimize.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: lower-optimize
on: workflow_dispatch
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
lower-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v14
with:
name: tek
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}
- id: bounds
run: nix run .#lower.optimize -- --output=ga-pr --build-timeout=3600
- name: pr
if: steps.bounds.outputs.commit-message
uses: peter-evans/create-pull-request@v5
with: ${{ steps.bounds.outputs }}
26 changes: 26 additions & 0 deletions .github/workflows/lower.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: lower
on: [workflow_dispatch, pull_request, push]
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
lower-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v14
with:
name: tek
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}
- id: bounds
run: nix run .#lower -- --output=ga-pr --build-timeout=3600
- name: pr
if: steps.bounds.outputs.commit-message
uses: peter-evans/create-pull-request@v5
with: ${{ steps.bounds.outputs }}
13 changes: 0 additions & 13 deletions .github/workflows/test.yml

This file was deleted.

Loading

0 comments on commit 1cf98f8

Please sign in to comment.