tangled
alpha
login
or
join now
tsiry-sandratraina.com
/
upnp-client-rs
1
fork
atom
This is a UPnP client library for Rust.
1
fork
atom
overview
issues
pulls
pipelines
ci: setup github actions
tsiry-sandratraina.com
8 months ago
ca1c8563
5febd41b
0/0
Waiting for spindle ...
+39
2 changed files
expand all
collapse all
unified
split
.github
workflows
ci.yml
.tangled
workflows
fmt.yml
+25
.github/workflows/ci.yml
···
1
1
+
name: ci
2
2
+
on:
3
3
+
push:
4
4
+
branches:
5
5
+
- main
6
6
+
pull_request:
7
7
+
branches:
8
8
+
- main
9
9
+
jobs:
10
10
+
fmt:
11
11
+
runs-on: ubuntu-latest
12
12
+
steps:
13
13
+
- uses: actions/checkout@v2
14
14
+
- name: Setup Fluent CI
15
15
+
uses: fluentci-io/setup-fluentci@v5
16
16
+
with:
17
17
+
wasm: true
18
18
+
plugin: rust
19
19
+
args: setup
20
20
+
env:
21
21
+
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22
22
+
- name: Run fmt
23
23
+
run: |
24
24
+
type cargo
25
25
+
cargo fmt --all --check
+14
.tangled/workflows/fmt.yml
···
1
1
+
when:
2
2
+
- event: ["push", "pull_request"]
3
3
+
branch: ["main"]
4
4
+
5
5
+
dependencies:
6
6
+
nixpkgs:
7
7
+
- cargo
8
8
+
- rustc
9
9
+
- rustfmt
10
10
+
11
11
+
steps:
12
12
+
- name: "cargo fmt"
13
13
+
command: |
14
14
+
cargo fmt --all --check