mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
flake reorg
This commit is contained in:
parent
e6cb5848ec
commit
c28a81a661
9 changed files with 84 additions and 164 deletions
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
with:
|
||||
name: ci
|
||||
instance: https://cache.icewind.me
|
||||
authToken: '${{ secrets.ATTIC_TOKEN }}'
|
||||
authToken: "${{ secrets.ATTIC_TOKEN }}"
|
||||
- run: nix build .#check
|
||||
|
||||
clippy:
|
||||
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
with:
|
||||
name: ci
|
||||
instance: https://cache.icewind.me
|
||||
authToken: '${{ secrets.ATTIC_TOKEN }}'
|
||||
authToken: "${{ secrets.ATTIC_TOKEN }}"
|
||||
- run: nix build .#clippy
|
||||
|
||||
test:
|
||||
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
with:
|
||||
name: ci
|
||||
instance: https://cache.icewind.me
|
||||
authToken: '${{ secrets.ATTIC_TOKEN }}'
|
||||
authToken: "${{ secrets.ATTIC_TOKEN }}"
|
||||
- run: nix build .#test
|
||||
|
||||
matrix:
|
||||
|
|
@ -65,9 +65,9 @@ jobs:
|
|||
with:
|
||||
name: ci
|
||||
instance: https://cache.icewind.me
|
||||
authToken: '${{ secrets.ATTIC_TOKEN }}'
|
||||
authToken: "${{ secrets.ATTIC_TOKEN }}"
|
||||
- run: nix build .#${{ matrix.target }}
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: haze-${{ matrix.target }}
|
||||
path: result/bin/*
|
||||
path: result/bin/*
|
||||
|
|
|
|||
10
.github/workflows/docker.yaml
vendored
10
.github/workflows/docker.yaml
vendored
|
|
@ -2,10 +2,10 @@ name: Build haze images
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: ['main']
|
||||
branches: ["main"]
|
||||
paths:
|
||||
- '.github/**'
|
||||
- 'images/**'
|
||||
- ".github/**"
|
||||
- "images/**"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
@ -16,8 +16,8 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
php-version: [ '8.1', '8.2', '8.3' ]
|
||||
variant: [ '', '-dbg' ]
|
||||
php-version: ["8.1", "8.2", "8.3"]
|
||||
variant: ["", "-dbg"]
|
||||
|
||||
name: haze-${{ matrix.php-version }}${{ matrix.variant }}
|
||||
|
||||
|
|
|
|||
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
with:
|
||||
name: ci
|
||||
instance: https://cache.icewind.me
|
||||
authToken: '${{ secrets.ATTIC_TOKEN }}'
|
||||
authToken: "${{ secrets.ATTIC_TOKEN }}"
|
||||
- run: nix build .#${{ matrix.target }}
|
||||
- name: Upload binary to release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
|
|
@ -35,4 +35,4 @@ jobs:
|
|||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: result/bin/haze
|
||||
asset_name: haze-${{ matrix.target }}
|
||||
tag: ${{ github.ref }}
|
||||
tag: ${{ github.ref }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue