Skip to content

Commit

Permalink
continue to use rust preinstalled (#81)
Browse files Browse the repository at this point in the history
* continue to use rust preinstalled

* add cargo, forgot.
  • Loading branch information
ArtemIsmagilov authored Dec 10, 2024
1 parent f29a1b4 commit d8b5b02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/compile_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,4 @@ jobs:
cd /home/runner/work/rustis/rustis/redis/
sh ./docker_up.sh
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --features pool,tokio-tls,redis-stack
run: cargo test --features pool,tokio-tls,redis-stack
11 changes: 1 addition & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,10 @@ jobs:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

uses: actions/checkout@v4
- name: Update version
run: |
VERSION=${{github.ref_name}}
sed -i -e 's/^version = .*/version = "'$VERSION'"/' Cargo.toml
- name: Publish crate
run: cargo publish --allow-dirty --token ${{secrets.CRATES_IO_API_TOKEN}}

0 comments on commit d8b5b02

Please sign in to comment.