Skip to content

fix: timestamp update on rfp endpoint #21

fix: timestamp update on rfp endpoint

fix: timestamp update on rfp endpoint #21

Workflow file for this run

name: Rust CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dsherret/rust-toolchain-file@v1
- name: Install dependencies
run: sudo apt-get update -y && sudo apt-get install -y libssl-dev ca-certificates libudev-dev libusb-1.0-0-dev pkg-config libudev-dev build-essential
- name: Build the project
run: cargo build --verbose
- name: Run tests
env:
CONTRACT: devhub.near
DATABASE_URL: postgres://devhub_cache_api_rs:password@127.0.0.1:5432/devhub_cache_api_rs
run: cargo test --verbose
- name: Run clippy
run: cargo clippy -- -D warnings
- name: Install cargo audit
run: |
cargo install cargo-audit
- name: Run cargo audit
run: cargo audit