Skip to content

formatting

formatting #87

Workflow file for this run

name: Build
# FIXME: remove testing_gq from below
on:
push:
branches: [ main, testing_gq ]
pull_request:
branches: [ main, testing_gq ]
release:
types: [ published ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false # 7.6 is not yet supported properly. Once fixed, this can be set to true
matrix:
include:
- setup: varnish74
- setup: varnish75
- setup: varnish76
env:
RUST_BACKTRACE: 1
RUSTDOCFLAGS: -D warnings
RUSTFLAGS: -D warnings
steps:
- uses: taiki-e/install-action@v2
with: { tool: just }
- uses: actions/checkout@v4
- name: Ensure this crate has not yet been published (on release)
if: github.event_name == 'release'
run: just check-if-published
- uses: Swatinem/rust-cache@v2
if: github.event_name != 'release' && github.event_name != 'workflow_dispatch'
- name: install varnish-dev
run: |
curl -s https://packagecloud.io/install/repositories/varnishcache/${{ matrix.setup }}/script.deb.sh | sudo bash
sudo apt-get install -y varnish-dev
- run: just -v ci-test