Skip to content

chore(deps): bump docker/setup-buildx-action from 1 to 3 #2048

chore(deps): bump docker/setup-buildx-action from 1 to 3

chore(deps): bump docker/setup-buildx-action from 1 to 3 #2048

Workflow file for this run

name: Validation
on:
workflow_dispatch: {}
pull_request:
types: [opened, synchronize, reopened]
schedule:
- cron: "00 00 * * 1"
jobs:
validation:
name: Validation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Configure sccache
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
- name: Build xline
run: |
docker run -q --rm -v $(pwd):/xline \
-e SCCACHE_GHA_ENABLED=on \
-e ACTIONS_CACHE_URL=${ACTIONS_CACHE_URL} \
-e ACTIONS_RUNTIME_TOKEN=${ACTIONS_RUNTIME_TOKEN} \
ghcr.io/xline-kv/build-env:latest \
cargo build --release --bin xline --bin benchmark --bin validation_lock_client
- run: |
sudo apt-get install -y --force-yes expect
cd scripts
cp ../target/release/{xline,benchmark,validation_lock_client} .
ldd ./xline
ldd ./benchmark
cp ../fixtures/{private,public}.pem .
docker build . -t ghcr.io/xline-kv/xline:latest
docker pull gcr.io/etcd-development/etcd:v3.5.5
bash ./validation_test.sh
- name: upload logs
if: failure() || cancelled()
uses: actions/upload-artifact@v1
with:
name: Xline logs
path: scripts/logs