Debian Codegraph @

debian/missing-sources/ecb/.github/workflows/publiish.yml

raw symbols SCIP
1 name: Publish
2
3 on:
4 create:
5 tags:
6 - "v*"
7
8 env:
9 CARGO_INCREMENTAL: 0
10 CARGO_PROFILE_RELEASE_LTO: "fat"
11
12 jobs:
13 build:
14 if: startsWith(github.ref, 'refs/tags/v')
15 runs-on: ubuntu-latest
16
17 steps:
18 - uses: actions/checkout@v3
19
20 - name: Install Rust
21 uses: actions-rs/toolchain@v1
22 with:
23 profile: minimal
24 toolchain: stable
25 override: true
26 components: rustfmt, clippy
27
28 - run: cargo check --color always --all --all-targets
29 - run: cargo fmt --check --all
30 - run: cargo clippy --color always --all --all-targets
31 - run: cargo test --color always --all --all-targets
32
33 - name: publish crates
34 run: cargo publish --token ${CRATES_TOKEN}
35 env:
36 CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}