diff --git a/.github/workflows/container-image.yml b/.github/workflows/container-image.yml index 9ad95568..da838047 100644 --- a/.github/workflows/container-image.yml +++ b/.github/workflows/container-image.yml @@ -80,7 +80,7 @@ jobs: run: | curl -L -o mreg-cli https://github.com/unioslo/mreg-cli/releases/download/1.0.1/mreg-cli-ubuntu-latest-3.12 chmod 0755 mreg-cli - mv mreg-cli /usr/bin/ + sudo mv mreg-cli /usr/bin/ # put it somewhere in $PATH - name: Run the tests run: | wget -nd https://github.com/unioslo/mreg-cli/archive/refs/heads/master.zip diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4efc6b70..36975348 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,9 +39,9 @@ jobs: - "3.12" steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache pip - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/pip key: v1-pip-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements-*.txt') }} @@ -50,7 +50,7 @@ jobs: v1-pip-${{ runner.os }} v1-pip- - name: Install Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -76,7 +76,7 @@ jobs: # name: openapi.yml # path: openapi.yml - name: Upload coverage - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage-${{ matrix.python-version }} path: .coverage