diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0369516..7fa3221d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/checkout@v4 # Check on lowest supported python version to catch syntax errors: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: { python-version: "3.7" } - run: pip install flake8 - run: flake8 @@ -122,31 +122,31 @@ jobs: if: steps.madx-build-cache.outputs.cache-hit != 'true' run: .github/build/windows/madx.sh src/MAD-X - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: {python-version: "3.6"} - run: .github/build/windows/cpymad.sh src/MAD-X/dist 3.6 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: {python-version: "3.7"} - run: .github/build/windows/cpymad.sh src/MAD-X/dist 3.7 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: {python-version: "3.8"} - run: .github/build/windows/cpymad.sh src/MAD-X/dist 3.8 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: {python-version: "3.9"} - run: .github/build/windows/cpymad.sh src/MAD-X/dist 3.9 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: {python-version: "3.10"} - run: .github/build/windows/cpymad.sh src/MAD-X/dist 3.10 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: {python-version: "3.11"} - run: .github/build/windows/cpymad.sh src/MAD-X/dist 3.11 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: {python-version: "3.12"} - run: .github/build/windows/cpymad.sh src/MAD-X/dist 3.12 @@ -224,31 +224,31 @@ jobs: if: steps.madx-build-cache.outputs.cache-hit != 'true' run: .github/build/macos/madx.sh src/MAD-X ${{ matrix.arch }} - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: { python-version: "3.6" } - run: .github/build/macos/cpymad.sh src/MAD-X/dist - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: { python-version: "3.7" } - run: .github/build/macos/cpymad.sh src/MAD-X/dist - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: { python-version: "3.8" } - run: .github/build/macos/cpymad.sh src/MAD-X/dist - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: { python-version: "3.9" } - run: .github/build/macos/cpymad.sh src/MAD-X/dist - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: { python-version: "3.10" } - run: .github/build/macos/cpymad.sh src/MAD-X/dist - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: { python-version: "3.11" } - run: .github/build/macos/cpymad.sh src/MAD-X/dist - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: { python-version: "3.12" } - run: .github/build/macos/cpymad.sh src/MAD-X/dist @@ -288,7 +288,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} @@ -325,7 +325,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.9' - uses: actions/download-artifact@v3 @@ -357,7 +357,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.x'