Skip to content

Bump object from 0.36.1 to 0.36.2 #2877

Bump object from 0.36.1 to 0.36.2

Bump object from 0.36.1 to 0.36.2 #2877

Workflow file for this run

name: Build
on:
push:
branches:
- "*"
pull_request:
env:
RUST_BACKTRACE: 1
RUST_LOG: "cargo_tarpaulin=trace,llvm_profparser=trace"
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
version:
- stable
- beta
- nightly
target:
- i686-unknown-linux-gnu
- i686-unknown-linux-musl
- x86_64-unknown-linux-gnu
- x86_64-unknown-linux-musl
- aarch64-unknown-linux-gnu
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.version }}
components: rustfmt
- name: cache
uses: Swatinem/rust-cache@v2
- name: check_non_default
run: cargo check --no-default-features
- name: test
run: cargo test
- uses: actions/upload-artifact@v3
if: failure()
with:
name: linux ${{ matrix.version }}
retention-days: 3
path: |
tests/data/
!tests/data/**/*.rs
- name: check formatting
run: cargo fmt -- --check
windows:
runs-on: windows-latest
strategy:
matrix:
version:
- stable
- nightly
target:
- x86_64-pc-windows-gnu
- x86_64-pc-windows-msvc
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.version }}
- name: cache
uses: Swatinem/rust-cache@v2
- name: test
run: cargo test
- uses: actions/upload-artifact@v3
if: failure()
with:
name: windows ${{ matrix.version }}
retention-days: 3
path: |
tests/data/
!tests/data/**/*.rs
mac:
runs-on: macos-latest
strategy:
matrix:
version:
- stable
- nightly
target:
- x86_64-apple-darwin
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.version }}
- name: cache
uses: Swatinem/rust-cache@v2
- name: test
run: cargo test
- uses: actions/upload-artifact@v3
if: failure()
with:
name: mac ${{ matrix.version }}
retention-days: 3
path: |
tests/data/
!tests/data/**/*.rs