Skip to content

Commit

Permalink
update to newer GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rgildein committed Mar 28, 2024
1 parent 1eb84a4 commit 5380e2d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5380e2d

Please sign in to comment.