diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 8705fb7f..e4cef0d1 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -20,11 +20,11 @@ jobs: name: Lint checkers and Unit tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install dependencies @@ -38,12 +38,12 @@ jobs: - name: Save PR number to file run: echo ${{ github.event.number }} > PR_NUMBER.txt - name: Archive PR number - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: PR_NUMBER path: PR_NUMBER.txt - name: Archive code coverage results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage-report path: ./tests/unit/report/coverage.xml @@ -53,9 +53,9 @@ jobs: needs: lint-unit runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install dependencies @@ -75,7 +75,7 @@ jobs: with: submodules: true - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install tox @@ -91,7 +91,7 @@ jobs: - name: Build snap run: make build - name: Upload the built snap as an artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: SNAP_FILE path: charmed-openstack-upgrader.snap @@ -106,7 +106,7 @@ jobs: with: submodules: true - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Setup Juju 2.9/stable environment