diff --git a/.github/workflows/test_plugins.yaml b/.github/workflows/test_plugins.yaml index d2baf6b..400e2c0 100644 --- a/.github/workflows/test_plugins.yaml +++ b/.github/workflows/test_plugins.yaml @@ -22,8 +22,8 @@ jobs: plugins: [ 'default_with_version_config', 'default_without_version_in_config', - 'tokens', - 'tokens==0.8.3' + 'etherscan', + 'etherscan==0.8.5' ] config-file: [ 'ape-config.yaml', @@ -44,7 +44,7 @@ jobs: if [[ "${{ matrix.plugins }}" == "default_without_version_in_config" ]]; then # Remove the version so it defaults to `. -U`. - awk '!/version: 0.8.3/' "ape-config.yaml" > "ape-config.tmp" && mv "ape-config.tmp" "ape-config.yaml" + awk '!/version: 0.8.5/' "ape-config.yaml" > "ape-config.tmp" && mv "ape-config.tmp" "ape-config.yaml" fi - name: Convert 'ape-config.yaml' to 'pyproject.toml' @@ -64,19 +64,19 @@ jobs: - name: Check results shell: bash run: | - result="$(ape plugins list | grep -o 'tokens.*' | grep -o '[0-9\.]*')" + result="$(ape plugins list | grep -o 'etherscan.*' | grep -o '[0-9\.]*')" - if [[ "${{ matrix.plugins }}" == "default_without_version_in_config" || "${{ matrix.plugins }}" == "tokens" ]]; + if [[ "${{ matrix.plugins }}" == "default_without_version_in_config" || "${{ matrix.plugins }}" == "etherscan" ]]; then - if [[ $result == "0.8.3" ]]; + if [[ $result == "0.8.5" ]]; then - echo "Expected $result to be greater than 0.8.3" + echo "Expected $result to be greater than 0.8.5" exit 1; fi else - if [[ $result != "0.8.3" ]]; + if [[ $result != "0.8.5" ]]; then - echo "Expected $result to be equal to 0.8.3" + echo "Expected $result to be equal to 0.8.5" exit 1; fi fi diff --git a/action.yml b/action.yml index 4294cad..373996d 100644 --- a/action.yml +++ b/action.yml @@ -26,7 +26,7 @@ runs: using: 'composite' steps: - - uses: actions/cache@v4 + - uses: actions/cache@v5 name: Compilers cache with: path: | @@ -34,19 +34,19 @@ runs: $HOME/.vvm/vyper-* key: ${{ runner.os }}-compiler-cache - - uses: actions/cache@v4 + - uses: actions/cache@v5 name: Build cache with: path: ${{ github.workspace }}/.build key: ${{ runner.os }}-build-cache - - uses: actions/cache@v4 + - uses: actions/cache@v5 name: Ape data cache with: path: $HOME/.ape key: ${{ runner.os }}-apedata-cache - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: ${{ inputs.python-version }} @@ -94,7 +94,7 @@ runs: shell: bash - name: Restore pip cache - uses: actions/cache@v4 + uses: actions/cache@v5 id: pip-cache with: path: | diff --git a/ape-config.yaml b/ape-config.yaml index 8b9da41..3faa9f0 100644 --- a/ape-config.yaml +++ b/ape-config.yaml @@ -1,4 +1,4 @@ # This file exists only as a test for the action. plugins: - - name: tokens - version: 0.8.3 + - name: etherscan + version: 0.8.5