Bump chrono from 0.4.31 to 0.4.33 #132
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- "Cargo.toml" | |
- "Cargo.lock" | |
- "src/**" | |
- ".github/workflows/build.yml" | |
pull_request: | |
branches: ["main"] | |
paths: | |
- "Cargo.toml" | |
- "Cargo.lock" | |
- "src/**" | |
- ".github/workflows/build.yml" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly-2022-11-06 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install linux build deps | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt install libxi-dev | |
sudo apt install libxtst-dev | |
- name: Build | |
run: cargo +nightly-2022-11-06 build --release | |
- name: Upload artifact (win) | |
uses: actions/upload-artifact@v3 | |
if: matrix.os == 'windows-latest' | |
with: | |
path: ./target/release/dfint_hook.dll | |
- name: Upload artifact (linux) | |
uses: actions/upload-artifact@v3 | |
if: matrix.os == 'ubuntu-latest' | |
with: | |
path: ./target/release/libdfint_hook.so |