Skip to content

Commit

Permalink
chore(ci): pin just version (#2442)
Browse files Browse the repository at this point in the history
  • Loading branch information
tychoish authored Jan 18, 2024
1 parent 52870e9 commit 7a5b196
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 11 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/benchmarks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,19 @@ jobs:

- uses: extractions/setup-just@v1
name: Setup just

with:
just-version: "1.23.0"
- uses: actions/cache@v3
name: Cache
with:
path: |
~/.cargo/
target/
key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }}

- name: Python build (Release)
run: just python build --release

# TODO: We would want to cache this once we're generating data for a
# larger scale factor and running benchmarks on each commit. Should be
# fine for now.
Expand Down
28 changes: 26 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- name: checkout
uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- uses: actions/cache@v3
name: toolchain cache
with:
Expand Down Expand Up @@ -54,6 +56,8 @@ jobs:
- name: checkout
uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- uses: actions/cache@v3
name: toolchain cache
with:
Expand Down Expand Up @@ -81,6 +85,8 @@ jobs:
- name: checkout
uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- uses: actions/cache@v3
name: toolchain cache
with:
Expand All @@ -105,6 +111,8 @@ jobs:
- name: checkout
uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- uses: actions/cache@v3
name: toolchain cache
with:
Expand Down Expand Up @@ -142,6 +150,8 @@ jobs:
with:
node-version: 20
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- uses: actions/cache@v3
name: toolchain cache
with:
Expand Down Expand Up @@ -174,6 +184,8 @@ jobs:
- name: checkout
uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- uses: actions/cache@v3
name: toolchain cache
with:
Expand Down Expand Up @@ -211,6 +223,8 @@ jobs:
- name: checkout
uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- uses: actions/cache@v3
name: glaredb cache
with:
Expand Down Expand Up @@ -241,6 +255,8 @@ jobs:
- name: checkout
uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- name: install poetry
uses: snok/install-poetry@v1
- name: install python
Expand Down Expand Up @@ -293,6 +309,8 @@ jobs:
- name: checkout
uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- uses: actions/cache@v3
name: glaredb cache
with:
Expand Down Expand Up @@ -374,7 +392,7 @@ jobs:
just slt-bin --jobs=1 '*/tunnels/ssh' --exclude 'sqllogictests_mysql/*'
# TODO: move these into the datasource-integration-tests job
echo "-------------------------------- RPC TESTS --------------------------------"
echo "-------------------------- BigQuery -------------------------- "
Expand Down Expand Up @@ -403,6 +421,8 @@ jobs:
- name: checkout
uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- uses: actions/cache@v3
name: glaredb cache
with:
Expand Down Expand Up @@ -446,7 +466,7 @@ jobs:
-o access_key_id=$MINIO_ACCESS_KEY \
-o secret_access_key=$MINIO_SECRET_KEY \
'sqllogictests/*'
# Flight protocol
just slt-bin -l http://localhost:9100/$TEST_BUCKET/path/to/folder \
-o access_key_id=$MINIO_ACCESS_KEY \
Expand Down Expand Up @@ -493,6 +513,8 @@ jobs:
- name: checkout
uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- uses: actions/cache@v3
name: glaredb cache
with:
Expand Down Expand Up @@ -524,6 +546,8 @@ jobs:
- name: checkout
uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- uses: actions/cache@v3
name: glaredb cache
with:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/nodejs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
build: |-
set -eux &&
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to . &&
./just protoc &&
./just protoc &&
export PROTOC="$PWD/deps/protoc/bin/protoc" &&
cd bindings/nodejs &&
yarn build --target x86_64-unknown-linux-gnu &&
Expand All @@ -74,8 +74,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- run: just protoc

- name: Setup node
uses: actions/setup-node@v4
if: ${{ !matrix.settings.docker }}
Expand Down Expand Up @@ -165,7 +166,6 @@ jobs:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v1
- run: just protoc

- name: Setup node
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -205,4 +205,3 @@ jobs:
{
"text": "Node.js bindings publish result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
}
7 changes: 6 additions & 1 deletion .github/workflows/python-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- name: install protoc
run: just protoc
- uses: actions/setup-python@v5
Expand Down Expand Up @@ -71,6 +73,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- name: install protoc
run: just protoc

Expand Down Expand Up @@ -112,6 +116,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v1
with:
just-version: "1.23.0"
- name: install protoc
run: just protoc
- uses: actions/setup-python@v5
Expand Down Expand Up @@ -165,4 +171,3 @@ jobs:
{
"text": "Python bindings publish result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
}
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ jobs:
targets: ${{ matrix.target }}

- uses: extractions/setup-just@v1

with:
just-version: "1.23.0"
- name: Build
run: just dist

Expand Down

0 comments on commit 7a5b196

Please sign in to comment.