Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
blank_issues_enabled: false
contact_links:
- name: Discussions
url: https://github.com/microsoft/electionguard/discussions
url: https://github.com/Election-Tech-Initiative/electionguard/discussions
about: Discuss suggestions and new enhancements here.
- name: ElectionGuard Info
url: https://https://www.electionguard.vote/
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:

env:
PYTHON_VERSION: 3.9
POETRY_PATH: "$HOME/.poetry/bin"

jobs:
code_analysis:
Expand All @@ -33,12 +32,12 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- name: Change Directory
run: cd ${{ github.workspace }}
- name: Setup Environment
run: make environment
- name: Add Poetry Path
run: echo ${{ env.POETRY_PATH }} >> $GITHUB_PATH
- name: Install Dependencies
run: make install
- name: Lint
Expand All @@ -62,12 +61,12 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- name: Change Directory
run: cd ${{ github.workspace }}
- name: Setup Environment
run: make environment
- name: Add Poetry Path
run: echo ${{ env.POETRY_PATH }} >> $GITHUB_PATH
- name: Install Dependencies
run: make install
- name: Build
Expand All @@ -90,12 +89,12 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- name: Change Directory
run: cd ${{ github.workspace }}
- name: Setup Environment
run: make environment
- name: Add Poetry Path
run: echo ${{ env.POETRY_PATH }} >> $GITHUB_PATH
- name: Install Dependencies
run: make install
- name: Build
Expand All @@ -106,4 +105,4 @@ jobs:
timeout_minutes: 3
max_attempts: 1
retry_on: timeout
command: make test-integration
command: make integration-tests
23 changes: 12 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:

env:
PYTHON_VERSION: 3.9
POETRY_PATH: "$HOME/.poetry/bin"

jobs:
code_analysis:
Expand All @@ -19,12 +18,12 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- name: Change Directory
run: cd ${{ github.workspace }}
- name: Setup Environment
run: make environment
- name: Add Poetry Path
run: echo ${{ env.POETRY_PATH }} >> $GITHUB_PATH
- name: Install Dependencies
run: make install
- name: Lint
Expand All @@ -48,12 +47,12 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- name: Change Directory
run: cd ${{ github.workspace }}
- name: Setup Environment
run: make environment
- name: Add Poetry Path
run: echo ${{ env.POETRY_PATH }} >> $GITHUB_PATH
- name: Install Dependencies
run: make install
- name: Build
Expand All @@ -71,18 +70,18 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- name: Change Directory
run: cd ${{ github.workspace }}
- name: Setup Environment
run: make environment
- name: Add Poetry Path
run: echo ${{ env.POETRY_PATH }} >> $GITHUB_PATH
- name: Install Dependencies
run: make install
- name: Build
run: make build validate
- name: Integration Tests
run: make test-integration
run: make integration-tests

release:
name: Release
Expand All @@ -95,16 +94,18 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- name: Change Directory
run: cd ${{ github.workspace }}
- name: Setup Environment
run: make environment
- name: Add Poetry Path
run: echo ${{ env.POETRY_PATH }} >> $GITHUB_PATH
- name: Install Dependencies
run: make install
- name: Get Version
run: echo "PACKAGE_VERSION=$(echo $VERSION | poetry version --short)" >> $GITHUB_ENV
run: |
PACKAGE_VERSION=$(uv run --locked python -c 'import pathlib; print(next(line.split("\"")[1] for line in pathlib.Path("pyproject.toml").read_text().splitlines() if line.startswith("version = ")))')
echo "PACKAGE_VERSION=${PACKAGE_VERSION}" >> $GITHUB_ENV
- name: Generate release notes
run: make release-notes
- name: Create Release
Expand Down
Loading
Loading