Skip to content

chore(deps): bump serde_json from 1.0.132 to 1.0.134 #114

chore(deps): bump serde_json from 1.0.132 to 1.0.134

chore(deps): bump serde_json from 1.0.132 to 1.0.134 #114

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Tests for platform ${{ matrix.os }}/${{ matrix.target }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: macos-latest
target: x86_64-osx
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
coverage: true
conventional_commit_check: true
- os: ubuntu-latest
target: armv7-unknown-linux-musleabihf
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
cache-all-crates: "true"
key: "${{ matrix.os }}-${{ matrix.target }}"
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- uses: taiki-e/install-action@cargo-llvm-cov
- uses: taiki-e/install-action@nextest
- name: Collect coverage data
if: ${{matrix.coverage}}
uses: actions-rs/cargo@v1
with:
command: llvm-cov
args: nextest --lcov --output-path lcov.info --test-threads=1
- name: Upload coverage to Codecov
if: ${{matrix.coverage}}
uses: codecov/codecov-action@v4
with:
files: lcov.info
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
- name: Test with latest nextest release
if: ${{ ! matrix.coverage }}
uses: actions-rs/cargo@v1
with:
command: nextest
args: run --test-threads=1
lints:
name: Lints & Format
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
cache-all-crates: "true"
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run cargo fmt
uses: actions-rs/cargo@v1
continue-on-error: false
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
continue-on-error: false
with:
command: clippy
args: -- -D warnings
e2e:
name: End to end tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: recursive
- name: Run bats test harnesss
run: |
docker build -t bombadil-tests ./
docker run bombadil-tests
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
cache-dependency-path: website/yarn.lock
- name: Setup pages
uses: actions/configure-pages@v4
- name: Install dependencies
working-directory: ./website
run: yarn install
- name: Build with VitePress
working-directory: ./website
run: yarn docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: website/docs/.vitepress/dist
deploy-docs:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build-docs
runs-on: ubuntu-latest
name: Deploy docs
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4