Skip to content

Commit

Permalink
🎨 Go 3.12
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Heumos <[email protected]>
  • Loading branch information
Zethson committed Jan 23, 2025
1 parent 49ee929 commit 75205d8
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
group:
- "by_datatype"
- "by_registry"
Expand Down Expand Up @@ -54,6 +54,7 @@ jobs:
- name: Cache postgres use
if: steps.cache-postgres.outputs.cache-hit == 'true'
run: docker image load --input ~/postgres.tar

- run: pip install "laminci@git+https://x-access-token:${{ secrets.LAMIN_BUILD_DOCS }}@github.com/laminlabs/laminci"
- name: install postgres graphviz
run: sudo apt-get -y install graphviz
Expand All @@ -62,8 +63,9 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- run: nox -s lint
if: ${{ matrix.python-version == '3.11' && matrix.group == 'unit' }}
if: ${{ matrix.python-version == '3.12' && matrix.group == 'unit' }}
- run: nox -s "install(group='${{ matrix.group }}')"
- run: nox -s "build(group='${{ matrix.group }}')"

Expand All @@ -81,21 +83,25 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: checkout lndocs
uses: actions/checkout@v4
with:
repository: laminlabs/lndocs
ssh-key: ${{ secrets.READ_LNDOCS }}
path: lndocs
ref: main

- uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- run: pip install "laminci@git+https://x-access-token:${{ secrets.LAMIN_BUILD_DOCS }}@github.com/laminlabs/laminci"
- run: nox -s "install(group='docs')"
- uses: actions/download-artifact@v4
Expand Down

0 comments on commit 75205d8

Please sign in to comment.