diff --git a/.github/workflows/.pre-commit-config.yaml b/.github/workflows/.pre-commit-config.yaml index ae6a588..f0da0b1 100644 --- a/.github/workflows/.pre-commit-config.yaml +++ b/.github/workflows/.pre-commit-config.yaml @@ -6,6 +6,13 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - - uses: pre-commit/action@v2.0.3 + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Python 3.10.13 + uses: actions/setup-python@v4 + with: + python-version: 3.10.13 + + - name: Pre-commit checks + uses: pre-commit/action@v3.0.0 diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 8ff2c7b..b86da2f 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -13,27 +13,27 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Cache Compiler Installations - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.vvm key: compiler-cache - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 - name: Install Hardhat run: npm ci - - name: Setup Python 3.8 - uses: actions/setup-python@v2 + - name: Setup Python 3.10 + uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.10.13 - name: Install Requirements run: pip install -r requirements.txt diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b64277d..7d6119c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,25 +2,25 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 23.11.0 hooks: - id: black args: [--line-length=79] - repo: https://github.com/pycqa/flake8 - rev: 4.0.1 + rev: 6.1.0 hooks: - id: flake8 - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: 5.12.0 hooks: - id: isort args: ["--profile", "black", --line-length=79] default_language_version: - python: python3.10.4 + python: python3.10