mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-24 09:10:49 +00:00
Push builds to cachix
This commit is contained in:
parent
e73247e7d4
commit
500eadeed0
2 changed files with 26 additions and 0 deletions
20
.github/workflows/build_test.yml
vendored
20
.github/workflows/build_test.yml
vendored
|
@ -67,3 +67,23 @@ jobs:
|
|||
run: cargo test
|
||||
env:
|
||||
SQLX_OFFLINE: "true"
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: cachix/install-nix-action@v20
|
||||
with:
|
||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions-rs/toolchain@v1
|
||||
id: cargo
|
||||
with:
|
||||
toolchain: stable
|
||||
components: clippy
|
||||
- uses: cachix/cachix-action@v12
|
||||
with:
|
||||
name: natsukagami
|
||||
# If you chose API tokens for write access OR if you have a private cache
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- name: Run nix build
|
||||
run: nix build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue