Skip to content

Commit

Permalink
Fix action versions and sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindhagberg committed Nov 12, 2024
1 parent b4a3e19 commit 775da7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 775da7b

Please sign in to comment.