Skip to content

feat(epaxos): VisitConflicts public query API #122

feat(epaxos): VisitConflicts public query API

feat(epaxos): VisitConflicts public query API #122

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
verification:
runs-on: ubuntu-latest
env:
GO_VERSION: '1.26.5'
JAVA_DISTRIBUTION: 'temurin'
JAVA_VERSION: '21'
LEIN_VERSION: '2.13.0'
LEIN_STANDALONE_URL: 'https://github.com/technomancy/leiningen/releases/download/2.13.0/leiningen-2.13.0-standalone.jar'
LEIN_STANDALONE_SHA256: '5f5231f06c3c7924e3241e3dfa52885577fb44ddf8a9ea373d2c5e2f27217565'
steps:
- name: Check out repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- name: Set up Go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Set up Java
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9
with:
distribution: ${{ env.JAVA_DISTRIBUTION }}
java-version: ${{ env.JAVA_VERSION }}
- name: Cache Clojure dependencies
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
with:
path: ~/.m2/repository
key: ${{ runner.os }}-m2-${{ hashFiles('jepsen/project.clj') }}
restore-keys: |
${{ runner.os }}-m2-
- name: Install Leiningen
run: |
jar="/tmp/leiningen-${LEIN_VERSION}-standalone.jar"
curl -fsSL -o "$jar" "$LEIN_STANDALONE_URL"
echo "${LEIN_STANDALONE_SHA256} ${jar}" | sha256sum -c -
printf '#!/usr/bin/env bash\nexec java -cp "%s" clojure.main -m leiningen.core.main "$@"\n' "$jar" > /tmp/lein
chmod +x /tmp/lein
echo /tmp >> "$GITHUB_PATH"
- name: Run golangci-lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
with:
version: v2.12.2
- name: Run golangci-lint (examples/kv)
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
with:
version: v2.12.2
working-directory: examples/kv
- name: Run repository verification gates
run: tests/ci.sh