Skip to content

Commit

Permalink
Merge pull request scylladb#760 from avelanarius/update-actions
Browse files Browse the repository at this point in the history
Fix GitHub Actions warnings in CI
  • Loading branch information
piodul authored Jul 17, 2023
2 parents 058bb30 + fbb4c7f commit 69dc773
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/authenticate_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ jobs:
- 9042:9042
options: --health-cmd "cqlsh --username cassandra --password cassandra --debug" --health-interval 5s --health-retries 30
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --verbose authenticate_superuser -- custom_authentication --ignored
2 changes: 1 addition & 1 deletion .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- 9042:9042
options: --health-cmd "cqlsh --debug" --health-interval 5s --health-retries 10
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install mdbook
run: cargo install mdbook --no-default-features
- name: Build the project
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cassandra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup 3-node Cassandra cluster
run: |
docker-compose -f test/cluster/cassandra/docker-compose.yml up -d
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup 3-node Scylla cluster
run: |
sudo sh -c "echo 2097152 >> /proc/sys/fs/aio-max-nr"
Expand Down Expand Up @@ -49,12 +49,11 @@ jobs:
min_rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install Rust ${{ env.rust_min }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.rust_min }}
override: true
run: |
rustup install ${{ env.rust_min }}
rustup override set ${{ env.rust_min }}
- name: Print Rust version
run: rustc --version
- name: MSRV cargo check with features
Expand All @@ -68,6 +67,6 @@ jobs:
cargo_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Compile docs
run: RUSTDOCFLAGS=-Dwarnings cargo doc
2 changes: 1 addition & 1 deletion .github/workflows/serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install scylla-ccm
run: pip3 install https://github.com/scylladb/scylla-ccm/archive/master.zip

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
env:
working-directory: ./scylla
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Check
run: cargo check --verbose --features "ssl"
working-directory: ${{env.working-directory}}
Expand Down

0 comments on commit 69dc773

Please sign in to comment.