Skip to content

Commit

Permalink
Update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kahnclusions committed Sep 3, 2024
1 parent 78d7419 commit 3db4f13
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
name: Build and test

name: "Build with Nix"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

branches:
- 'main'
env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

permissions:
id-token: "write"
contents: "read"
steps:
- uses: actions/checkout@v4
- name: Install
run: cargo install cargo-leptos
- name: Build
run: cargo leptos build -vv
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build

0 comments on commit 3db4f13

Please sign in to comment.