Skip to content

Commit

Permalink
Merge pull request #41 from TornaxO7/update-github-workflow
Browse files Browse the repository at this point in the history
Update GitHub workflow
  • Loading branch information
TornaxO7 authored Nov 11, 2024
2 parents 7943f06 + 6958426 commit 4217b91
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 66 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: ci

on:
pull_request:
push:
branches:
- main

jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Run test suite
run: nix develop -c cargo test

clippy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Run test suite
run: nix develop -c cargo clippy
22 changes: 0 additions & 22 deletions .github/workflows/tests.yaml

This file was deleted.

54 changes: 10 additions & 44 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4217b91

Please sign in to comment.