fix: fix the workflow to only run on main branch
All checks were successful
Check code passes formatting and lint rules / cargo fmt (push) Successful in 1m36s
Check code passes formatting and lint rules / check (push) Successful in 1m56s

This commit is contained in:
Guilhem Lavaux 2025-06-30 08:11:43 +02:00
parent c03f2751f0
commit 5caa94f71d
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,5 @@
name: Check code passes formatting and lint rules
on: [push] on: [push]
jobs: jobs:
check: check:

View file

@ -1,4 +1,9 @@
on: [push] name: Build and create binary artifact
on:
push:
branches:
- main
jobs: jobs:
release: release:
runs-on: docker runs-on: docker