Skip to content

Commit

Permalink
Bump actions/checkout@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Lefkowitz committed Apr 17, 2024
1 parent f3f92e8 commit 17dec2c
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
8 changes: 6 additions & 2 deletions .github/actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ runs:
using: composite
steps:
- name: Checkout the source code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set the python version
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
cache: pip

- name: Install python dependencies
- name: Install pip dependencies
shell: bash
run: pip install .[all]

- name: Install apt dependencies
shell: bash
run: sudo apt-get install -y doxygen
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/install
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ on:
jobs:
publish:
runs-on: ubuntu-latest

permissions:
id-token: write

steps:
- name: Checkout the source code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/install
Expand All @@ -21,4 +25,5 @@ jobs:
- name: Publish the package
uses: pypa/gh-action-pypi-publish@release/v1
with:
token: ${{ secrets.PYPI_TOKEN }}
password: ${{ secrets.PYPI_TOKEN }}

6 changes: 5 additions & 1 deletion .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/install
Expand All @@ -18,8 +18,12 @@ jobs:
- name: Run tests
run: thx test

- name: Log coverage
run: cat coverage.lcov

- name: Publish test coverage
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage.lcov

2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PROJECT_NAME = Miniscons
PROJECT_NUMBER = 0.1.0
PROJECT_NUMBER = 0.2.0
PROJECT_BRIEF = SCons builders.

INPUT = src docs README.md
Expand Down

0 comments on commit 17dec2c

Please sign in to comment.