Skip to content

build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.7.2 to 6.7.3 in /token/js #4298

build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.7.2 to 6.7.3 in /token/js

build(deps-dev): bump @typescript-eslint/eslint-plugin from 6.7.2 to 6.7.3 in /token/js #4298

name: Governance Pull Request
on:
pull_request:
paths:
- "governance/**"
- "token/**"
- "ci/*-version.sh"
push:
branches: [master]
paths:
- "governance/**"
- "token/**"
- "ci/*-version.sh"
jobs:
cargo-test-sbf:
runs-on: ubuntu-latest
steps:
- name: Clean up space on runner machine
# Workaround to provide additional free space for testing.
# https://github.com/actions/virtual-environments/issues/2840
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- uses: actions/checkout@v2
- name: Set env vars
run: |
source ci/rust-version.sh
echo "RUST_STABLE=$rust_stable" >> $GITHUB_ENV
source ci/solana-version.sh
echo "SOLANA_VERSION=$solana_version" >> $GITHUB_ENV
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.RUST_STABLE }}
override: true
profile: minimal
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}}
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/rustfilt
key: cargo-sbf-bins-${{ runner.os }}
- uses: actions/cache@v2
with:
path: ~/.cache/solana
key: solana-${{ env.SOLANA_VERSION }}
- name: Install dependencies
run: |
./ci/install-build-deps.sh
./ci/install-program-deps.sh
echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
- name: Build and test
timeout-minutes: 60
run: ./ci/cargo-test-sbf.sh governance