Skip to content

Bump time from 0.3.36 to 0.3.37 (#68) #246

Bump time from 0.3.36 to 0.3.37 (#68)

Bump time from 0.3.36 to 0.3.37 (#68) #246

Workflow file for this run

name: CI
permissions:
checks: write
contents: read
on:
push:
branches:
- master
pull_request:
jobs:
test:
strategy:
matrix:
features:
- --features=cli
- --features=server
- --features=cli,server
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Set up rust-toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Test
run: |
cargo test --workspace --all-features
- name: Run clippy
uses: sksat/[email protected]
with:
reporter: github-check
github_token: ${{ secrets.GITHUB_TOKEN }}
clippy_flags: --no-default-features --features=vendored ${{ matrix.features }}
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build image
uses: docker/bake-action@v5
with:
set: |
*.cache-from=type=gha
*.cache-to=type=gha,mode=max