-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a417a37
commit bad54ac
Showing
10 changed files
with
347 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: SneaksAndData/github-actions/[email protected].2 | ||
- uses: SneaksAndData/github-actions/[email protected].8 | ||
with: | ||
major_v: 0 | ||
minor_v: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,16 +10,22 @@ jobs: | |
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v2 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9.x' | ||
architecture: 'x64' | ||
- name: Install Poetry and prepare version | ||
- name: Install Poetry | ||
uses: SneaksAndData/github-actions/[email protected] | ||
with: | ||
pypi_repo_url: ${{ secrets.AZOPS_PYPI_REPO_URL }} | ||
pypi_token_username: ${{ secrets.AZOPS_PAT_USER }} | ||
pypi_token: ${{ secrets.AZOPS_PAT }} | ||
install_extras: "all" | ||
skip_dependencies: true | ||
- name: Prepare version | ||
run: | | ||
set -e | ||
curl -sSL https://install.python-poetry.org | python3 - --preview | ||
version=$(git describe --tags --abbrev=7) | ||
sed -i "s/version = \"0.0.0\"/version = \"${version:1}\"/" pyproject.toml | ||
echo "__version__ = '${version:1}'" > ./anti_clustering/_version.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,20 +13,17 @@ jobs: | |
if: ${{ github.ref != 'refs/heads/main' }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax | ||
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified | ||
- name: Install Poetry | ||
run: | | ||
set -e | ||
curl -sSL https://install.python-poetry.org | python3 - --preview | ||
- name: Install Dependencies | ||
run: | | ||
set -e | ||
poetry install | ||
python-version: '3.9.x' | ||
architecture: 'x64' | ||
- name: Install Poetry and dependencies | ||
uses: SneaksAndData/github-actions/[email protected] | ||
with: | ||
pypi_repo_url: ${{ secrets.AZOPS_PYPI_REPO_URL }} | ||
pypi_token_username: ${{ secrets.AZOPS_PAT_USER }} | ||
pypi_token: ${{ secrets.AZOPS_PAT }} | ||
install_extras: "all" | ||
- name: Lint | ||
run: | | ||
set -e | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.