Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Bump sentry-sdk from 1.32.0 to 2.8.0 #20

Bump sentry-sdk from 1.32.0 to 2.8.0

Bump sentry-sdk from 1.32.0 to 2.8.0 #20

Workflow file for this run

name: ci
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
tests:
name: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: pip install pipenv
- run: pipenv install --dev --system --deploy --ignore-pipfile
- uses: aquasecurity/trivy-action@master
with:
scan-type: fs
scan-ref: "."
security-checks: "vuln"
vuln-type: library
ignore-unfixed: true
exit-code: 0
severity: UNKNOWN,LOW,MEDIUM
- uses: aquasecurity/trivy-action@master
with:
scan-type: fs
scan-ref: "."
security-checks: "vuln"
vuln-type: library
ignore-unfixed: true
exit-code: 1
severity: HIGH,CRITICAL
- run: pytest cyclops/tests --cov=cyclops
- run: xenon --max-average A --max-modules B --max-absolute B .
- run: flake8 .
- run: black --line-length=120 --check .
build:
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
name: build
needs: [ tests ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: echo "container_tag=$(date +'%FT%H%M%SZ')" >> $GITHUB_ENV
- uses: docker/login-action@v2
with:
registry: binkcore.azurecr.io
username: binkcore
password: ${{ secrets.ACR_BINKCORE_PASSWORD }}
- uses: docker/build-push-action@v3
with:
push: true
tags: |
binkcore.azurecr.io/cyclops:${{ env.container_tag }}
binkcore.azurecr.io/cyclops:latest