Skip to content

Commit

Permalink
test with --locked
Browse files Browse the repository at this point in the history
  • Loading branch information
EliMoshkovich committed Oct 1, 2024
1 parent f9b920e commit 57079ea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
profile: minimal
override: true

- name: Run cargo update --locked
run: cargo update --locked

- name: Run cargo test
run: cargo test

- name: Run cargo build
run: cargo build

- name: Run cargo update
run: cargo update

# On Release: Publish Cargo package, build and push Docker image
release:
if: github.event_name == 'release'
Expand Down Expand Up @@ -85,5 +85,10 @@ jobs:
run: cargo publish --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: cedar-agent-${{ github.event.release.tag_name }}.crate
token: ${{ secrets.TOKEN_GITHUB }}


1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[package]
name = "cedar-agent"
# This update dynamically via CI
version = "0.2.0"
edition = "2021"
license = "Apache-2.0"
Expand Down

0 comments on commit 57079ea

Please sign in to comment.