Skip to content

Update account history for static rewards. Fix off by one bug. #11157

Update account history for static rewards. Fix off by one bug.

Update account history for static rewards. Fix off by one bug. #11157

Workflow file for this run

name: Lint
on:
workflow_dispatch:
push:
tags:
- "!v*"
branches:
- master
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
env:
TARGET: x86_64-pc-linux-gnu
MAKE_DEBUG: 0
jobs:
generic:
name: Lint
runs-on: ubuntu-latest
env:
BUILD_VERSION: latest # Computed
GITHUB_PULL_REQUEST: ${{ github.event.number }}
PYTHON: 3.8
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Lint
run: ./ci/lint/main.sh
- name: Extended Lint
run: ./ci/extended_lint/main.sh
rust:
name: Rust Lint
runs-on: ubuntu-latest
container: defi/ain-builder:latest
env:
CARGO_INCREMENTAL: 0
steps:
- name: Checkout
uses: actions/checkout@v4
- run: git config --global --add safe.directory '*'
- name: Populate environment
run: ./make.sh ci-export-vars
- name: Setup dependencies
run: ./make.sh ci-setup-deps
- name: Setup dependencies for user
run: ./make.sh ci-setup-user-deps
- name: Rust lint cache
uses: Swatinem/rust-cache@v2
with:
workspaces: lib -> ../build/lib/target
save-if: ${{ github.ref == 'refs/heads/master' }}
shared-key: lint
- name: Build depends and configure
run: ./make.sh build-deps && ./make.sh build-conf
- name: Format checks
run: ./make.sh lib fmt-check 1
- name: Clippy checks
run: ./make.sh lib clippy 1