File tree Expand file tree Collapse file tree 3 files changed +27
-5
lines changed Expand file tree Collapse file tree 3 files changed +27
-5
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,22 @@ name: Ubuntu build
33on :
44 push :
55 branches :
6- - ' main'
6+ - main
7+ tags :
8+ - v*.*.*
79 pull_request :
810 branches :
9- - ' main'
11+ - main
1012 - ' */*'
1113 - ' update_flake_lock_action'
1214 schedule :
1315 - cron : ' 0 0 * * 1'
1416 workflow_dispatch :
1517
18+ concurrency :
19+ group : ${{ github.workflow }}-${{ github.ref }}
20+ cancel-in-progress : true
21+
1622jobs :
1723 build :
1824 strategy :
4551
4652 - name : Lint
4753 run : |
48- RUSTFLAGS="${{ matrix.flags }}" cargo clippy --workspace --all-targets --bins --tests --examples --features="logging-utils" -- -D warnings
54+ RUSTFLAGS="${{ matrix.flags }}" cargo clippy --workspace --all-targets --bins --tests --examples --features="logging-utils" -- -D warnings
55+
56+ publish :
57+ needs :
58+ - build
59+ runs-on : ubuntu-latest
60+ env :
61+ RUST_LOG : info
62+ RUSTFLAGS : " --cfg async_executor_impl=\" async-std\" --cfg async_channel_impl=\" async-std\" "
63+ steps :
64+ - uses : actions/checkout@v4
65+ - uses : katyo/publish-crates@v2
66+ with :
67+ # Only do an actual publish if this is a push to a release tag. Otherwise, do a dry run.
68+ dry-run : ${{ !(github.event_name == 'push' && github.ref_type == 'tag') }}
69+ ignore-unpublished-changes : true
70+ registry-token : ${{ secrets.CARGO_REGISTRY_TOKEN }}
Original file line number Diff line number Diff line change 11[package ]
22name = " async-compatibility-layer"
33description = " an abstraction layer for using both async-std and tokio"
4- version = " 1.0 .0"
4+ version = " 1.1 .0"
55edition = " 2021"
66
77[features ]
You can’t perform that action at this time.
0 commit comments