Skip to content

Commit

Permalink
Merge pull request #325 from zowe/ci/fix-audit-workflow
Browse files Browse the repository at this point in the history
Fix audit workflow and revert Secrets SDK version
  • Loading branch information
zFernand0 authored Aug 27, 2024
2 parents 14e68e1 + 7d04249 commit eb1ad71
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Check Vulnerabilities
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Check Python Vulnerabilities
uses: pypa/[email protected]
with:
inputs: requirements.txt docs/requirements.txt

- name: Check Secrets SDK Vulnerabilities
working-directory: src/secrets
run: cargo audit --deny warnings
6 changes: 3 additions & 3 deletions .github/workflows/sdk-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ jobs:
with open(os.environ["GITHUB_OUTPUT"], 'a') as f:
print("version=" + ("-".join(new_version.rsplit(".", 1)) if new_version.count(".") > 2 else new_version), file=f)
- name: Update version (cargo)
run: cargo install cargo-edit && cargo set-version ${{ steps.update-version.outputs.version }}
working-directory: src/secrets
# - name: Update version (cargo)
# run: cargo install cargo-edit && cargo set-version ${{ steps.update-version.outputs.version }}
# working-directory: src/secrets

- name: Update version (git)
run: git add src/_version.py src/secrets/Cargo.*
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pydoclint==0.5.3
pyfakefs
pylama==7.7.1
pylint==3.2.5
pytest==7.1.2
pytest==7.4.4
python-decouple==3.4
PyYAML==6.0.1
requests==2.32.0
Expand Down
2 changes: 1 addition & 1 deletion src/secrets/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/secrets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "keyring"
readme = "README.md"
repository = "https://github.com/zowe/zowe-client-python-sdk"
version = "1.0.0-dev21"
version = "1.0.0-dev12"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit eb1ad71

Please sign in to comment.