Skip to content

Commit

Permalink
Update GitHub Action dependency versions, (gluesql#1459)
Browse files Browse the repository at this point in the history
actions/checkout from v3 to v4.
actions/setup-node from v3 to v4.
actions/setup-python from v3 to v5.

temp-1
  • Loading branch information
panarch authored and devgony committed Mar 2, 2024
1 parent ad57a65 commit 2c0fc80
Show file tree
Hide file tree
Showing 35 changed files with 2,231 additions and 82 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
coverage:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Read rust-toolchain file
id: rust-toolchain
run: echo "toolchain=$(cat rust-toolchain)" >> $GITHUB_OUTPUT
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docusaurus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20

Expand All @@ -34,9 +34,9 @@ jobs:
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
- uses: browser-actions/setup-firefox@latest
Expand All @@ -40,9 +40,9 @@ jobs:
name: Storage tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
- uses: browser-actions/setup-firefox@latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
python_storage_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: "3.11.4"

Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Read rust-toolchain file
id: rust-toolchain
run: echo "toolchain=$(cat rust-toolchain)" >> $GITHUB_OUTPUT
Expand All @@ -34,7 +34,7 @@ jobs:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Read rust-toolchain file
id: rust-toolchain
run: echo "toolchain=$(cat rust-toolchain)" >> $GITHUB_OUTPUT
Expand All @@ -51,15 +51,15 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: cargo build --all-features --verbose

run_tests:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: |
cd core && cargo test --verbose && cd ..
Expand All @@ -73,7 +73,7 @@ jobs:
name: Run storage tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: |
cd storages
Expand All @@ -82,6 +82,7 @@ jobs:
cd composite-storage && cargo test --verbose && cd ..
cd json-storage && cargo test --verbose && cd ..
cd csv-storage && cargo test --verbose && cd ..
cd parquet-storage && cargo test --verbose && cd ..
cd sled-storage
cargo test --verbose -- --skip sled_transaction_timeout
cargo test sled_transaction_timeout --verbose -- --test-threads=1
Expand All @@ -91,7 +92,7 @@ jobs:
name: Run MongoStorage tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: MongoDB in GitHub Actions
uses: supercharge/mongodb-github-action@v1.10.0
Expand All @@ -103,7 +104,7 @@ jobs:
name: Run RedisStorage tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Redis in GitHub Actions
uses: supercharge/redis-github-action@1.7.0
Expand All @@ -117,7 +118,7 @@ jobs:
name: Run examples
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: |
cargo run --package gluesql --example hello_world
Expand Down
Loading

0 comments on commit 2c0fc80

Please sign in to comment.