diff --git a/.github/workflows/codemod_pygoat.yml b/.github/workflows/codemod_pygoat.yml index 3d6b0ec8..69fe7d0d 100644 --- a/.github/workflows/codemod_pygoat.yml +++ b/.github/workflows/codemod_pygoat.yml @@ -21,12 +21,13 @@ jobs: runs-on: ubuntu-20.04 timeout-minutes: 10 steps: + - name: Check out codemodder + uses: actions/checkout@v4 - name: Set Up Python uses: actions/setup-python@v5 with: python-version: '3.11' - - name: Check out codemodder - uses: actions/checkout@v4 + cache: 'pip' - name: Install Codemodder Package run: pip install . - name: Install Test Dependencies diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index 92a80350..bbfea836 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -24,12 +24,13 @@ jobs: matrix: python-version: ['3.10', '3.11', '3.12'] steps: + - name: Check out code + uses: actions/checkout@v4 - name: Set Up Python uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: Check out code - uses: actions/checkout@v4 + cache: 'pip' - name: Install Codemodder Package run: pip install . - name: Install Dependencies diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 26c1274b..5dd3210e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,12 +21,13 @@ jobs: runs-on: ubuntu-20.04 timeout-minutes: 3 steps: + - name: Check out code + uses: actions/checkout@v4 - name: Set Up Python uses: actions/setup-python@v5 with: python-version: '3.11' - - name: Check out code - uses: actions/checkout@v4 + cache: 'pip' - name: Install Dependencies run: | pip install ".[complexity]" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a3173b81..9d332227 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,12 +25,13 @@ jobs: runs-on: ubuntu-20.04 timeout-minutes: 5 steps: + - name: Check out code + uses: actions/checkout@v4 - name: Set Up Python uses: actions/setup-python@v5 with: python-version: '3.12' - - name: Check out code - uses: actions/checkout@v4 + cache: 'pip' - name: Install build dependencies run: pip install build twine - name: Build package @@ -45,12 +46,13 @@ jobs: matrix: python-version: ['3.10', '3.11', '3.12'] steps: + - name: Check out code + uses: actions/checkout@v4 - name: Set Up Python uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: Check out code - uses: actions/checkout@v4 + cache: 'pip' - name: Install Codemodder Package run: pip install . - name: Install Dependencies