diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 249d2bd5..8bfa1add 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,9 +13,9 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pipx install poetry - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.10" cache: poetry @@ -35,9 +35,9 @@ jobs: - os: windows-latest python: "3.10" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pipx install poetry - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} cache: poetry @@ -52,9 +52,9 @@ jobs: os: [ubuntu-latest] python: ["3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: pipx install poetry - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} cache: poetry @@ -87,12 +87,12 @@ jobs: if: github.ref == 'refs/heads/main' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.NIO_BOT_TOKEN }} - run: pipx install poetry - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.10" cache: poetry diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 8ba6bda3..3fda7f43 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -10,15 +10,15 @@ jobs: name: Build Documentation runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 with: python-version: 3.9 - run: pip install poetry - name: Set up cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: .venv key: ${{ runner.os }}-venv-py3.9-${{ hashFiles('**/poetry.lock') }}