cds-1670 and cds-1690 Version Bump #264
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: coralogix-aws-shipper tests | |
on: | |
pull_request: | |
branches: | |
- master | |
- dev | |
paths: | |
- "src/**" | |
- "Cargo.toml" | |
- "Cargo.lock" | |
- "template.yaml" | |
- "requirements.txt" | |
- "Makefile" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
pip install cfn-lint | |
# validate the template file | |
- name: Run cfn-lint | |
run: | | |
cfn-lint --template template.yaml --region us-east-1 --ignore-checks W | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt, clippy | |
- name: start ssh agent for rust private dependencies | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: run tests | |
run: | | |
cargo test --all -- --nocapture |