Skip to content

Commit

Permalink
Merge pull request #23 from umccr/chore-20240319
Browse files Browse the repository at this point in the history
Bumped GH action dependencies
  • Loading branch information
victorskl authored Mar 19, 2024
2 parents 6434ff2 + 1445518 commit d80f7ba
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/prbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- main

# Actions Used (please keep this documented here as added)
# https://github.com/marketplace/actions/checkout
# https://github.com/marketplace/actions/setup-python
# https://github.com/marketplace/actions/trufflehog-oss
# https://github.com/marketplace/actions/cache
Expand All @@ -19,16 +20,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@v3.34.0
uses: trufflesecurity/trufflehog@v3.70.2
with:
path: ./
base: ${{ github.event.repository.default_branch }}
Expand All @@ -37,7 +38,7 @@ jobs:

- name: Restore Localstack Image Cache if it exists
id: cache-docker-localstack
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ci/cache/docker/localstack
key: cache-docker-localstack-2.1
Expand All @@ -50,15 +51,12 @@ jobs:
if: steps.cache-docker-localstack.outputs.cache-hit == 'true'
run: docker image load --input ./ci/cache/docker/localstack/localstack-2.1.tar

- name: Start containers
run: docker compose up -d

- name: Set up compose stack
run: |
docker-compose -f docker-compose.yml up -d
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ dist: clean

# Usage: make testpypi version=0.2.0
testpypi: dist/libumccr-$(version).tar.gz
@python3 -m twine upload --repository testpypi --sign dist/libumccr-$(version).*
@python3 -m twine upload --repository testpypi --sign dist/libumccr-$(version)-*
@python3 -m twine upload --repository testpypi --sign dist/libumccr-$(version).tar.gz
@python3 -m twine upload --repository testpypi --sign dist/libumccr-$(version)-*.whl

pypi: dist/libumccr-$(version).tar.gz
@python3 -m twine upload --sign dist/libumccr-$(version).*
@python3 -m twine upload --sign dist/libumccr-$(version)-*
@python3 -m twine upload --sign dist/libumccr-$(version).tar.gz
@python3 -m twine upload --sign dist/libumccr-$(version)-*.whl

0 comments on commit d80f7ba

Please sign in to comment.