-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (34 loc) · 1.05 KB
/
release.yml
File metadata and controls
41 lines (34 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Release
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
rust_lint:
runs-on: ubuntu-latest
container:
image: rust:latest
steps:
- uses: actions/checkout@v4
- name: Install rustfmt and clippy
run: rustup component add rustfmt clippy
- name: Check formatting
run: cargo fmt --check
- name: Run clippy
run: cargo clippy -- -D warnings
build_test:
uses: membraneframework/membrane_actions/.github/workflows/build-test.yml@main
# Tests need a machine capable of running Vulkan.
# test:
# uses: membraneframework/membrane_actions/.github/workflows/test.yml@main
lint:
uses: membraneframework/membrane_actions/.github/workflows/lint.yml@main
hex_publish:
needs: [rust_lint, build_test, lint]
uses: membraneframework/membrane_actions/.github/workflows/hex-publish.yml@main
secrets:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
gh_release:
needs: [hex_publish]
uses: membraneframework/membrane_actions/.github/workflows/github-release.yml@main