-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and github action versions
- Loading branch information
Showing
4 changed files
with
529 additions
and
591 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 |
---|---|---|
|
@@ -15,15 +15,16 @@ on: | |
|
||
env: | ||
VAULT_ADDR: https://vault.eng.aserto.com/ | ||
|
||
GO_VERSION: "1.22" | ||
POETRY_VERSION: "1.8.3" | ||
|
||
jobs: | ||
test: | ||
name: Run test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Read Configuration | ||
uses: hashicorp/vault-action@v2.7.3 | ||
uses: hashicorp/vault-action@v3 | ||
id: vault | ||
with: | ||
url: ${{ env.VAULT_ADDR }} | ||
|
@@ -39,7 +40,7 @@ jobs: | |
git config --global url."[email protected]:".insteadOf https://github.com/ | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Homebrew | ||
uses: Homebrew/actions/setup-homebrew@master | ||
|
@@ -48,14 +49,14 @@ jobs: | |
run: brew tap aserto-dev/tap && brew install aserto-dev/tap/topaz && topaz install | ||
|
||
- name: Use python 3.9 | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.9' | ||
python-version: '3.12' | ||
|
||
- name: Install and configure Poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
version: 1.2.1 | ||
version: ${{ env.POETRY_VERSION }} | ||
|
||
- name: Run lint | ||
run: | | ||
|
@@ -73,7 +74,7 @@ jobs: | |
name: Release to pypi | ||
steps: | ||
- name: Read Configuration | ||
uses: hashicorp/vault-action@v2.4.1 | ||
uses: hashicorp/vault-action@v3 | ||
id: vault | ||
with: | ||
url: ${{ env.VAULT_ADDR }} | ||
|
@@ -83,17 +84,17 @@ jobs: | |
kv/data/pypi "API_TOKEN" | POETRY_HTTP_BASIC_PYPI_PASSWORD; | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
- name: Setup caching | ||
uses: actions/cache@v2 | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.cache/go-build | ||
|
@@ -119,12 +120,14 @@ jobs: | |
go run mage.go deps | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
python-version: '3.12' | ||
|
||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
version: ${{ env.POETRY_VERSION }} | ||
|
||
- name: Build and push the python package | ||
env: | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module github.com/aserto-dev/python-authorizer | ||
|
||
go 1.19 | ||
go 1.22 | ||
|
||
require github.com/magefile/mage v1.14.0 |
Oops, something went wrong.