diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index b0c7cff25..8c585ec11 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -6,9 +6,9 @@ jobs: Lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.14" allow-prereleases: true @@ -20,7 +20,7 @@ jobs: name: Check changelog fragment runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Check for changelog fragment run: | FRAGMENTS=$(find changelog.d -type f ! -name '.gitkeep' | wc -l) @@ -38,9 +38,9 @@ jobs: python-version: ["3.14"] steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} allow-prereleases: true @@ -50,7 +50,7 @@ jobs: run: make install - name: Run tests run: make test - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v6 - name: Build package run: make build - name: Test documentation builds diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index d250fc501..4b25af3c2 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -9,9 +9,9 @@ jobs: (github.repository == 'PolicyEngine/policyengine-canada') && (github.event.head_commit.message == 'Update PolicyEngine Canada') steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.14" allow-prereleases: true @@ -28,16 +28,16 @@ jobs: steps: - name: Generate GitHub App token id: app-token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v3 with: app-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ steps.app-token.outputs.token }} - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.14" allow-prereleases: true @@ -49,7 +49,7 @@ jobs: - name: Preview changelog update run: ".github/get-changelog-diff.sh" - name: Update changelog - uses: EndBug/add-and-commit@v9 + uses: EndBug/add-and-commit@v10 with: add: "." committer_name: Github Actions[bot] @@ -67,9 +67,9 @@ jobs: os: [ubuntu-latest, windows-latest] steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.14" allow-prereleases: true @@ -77,12 +77,12 @@ jobs: run: make install - name: Run tests run: make test - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v6 - name: Generate documentation run: make documentation - name: Deploy documentation if: matrix.os == 'ubuntu-latest' - uses: JamesIves/github-pages-deploy-action@releases/v3 + uses: JamesIves/github-pages-deploy-action@v4 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: gh-pages # The branch the action should deploy to. @@ -94,9 +94,9 @@ jobs: && (github.event.head_commit.message == 'Update PolicyEngine Canada') steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.14" allow-prereleases: true @@ -122,16 +122,16 @@ jobs: steps: - name: Generate GitHub App token id: app-token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v3 with: app-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: token: ${{ steps.app-token.outputs.token }} - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.14" allow-prereleases: true