Files
gravel/.gitea/workflows/pipeline.yml
Kerdonov c0a54b5f0a
Some checks failed
Build the release program / Cargo build release (push) Failing after 2m15s
gitea workflow fix 1
2025-11-09 22:48:19 +02:00

42 lines
787 B
YAML

name: Build the release program
on:
push:
branches: ["master"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Cargo build release
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Update
run: apt update
- name: Check formatting
run: cargo fmt --all -- --check
- name: Run linter
run: cargo clippy -- -D warnings
- name: Test
run: cargo test --verbose
- name: Build release
run: cargo build --release --verbose
- name: tar /target/release
run: tar -czf release.tar.gz /target/release
- name: Release
uses: akkuman/gitea-release-action@v1
with:
files: |-
release.tar.gz