Skip to content

Bump sentry-sdk from 1.14.0 to 2.8.0 #294

Bump sentry-sdk from 1.14.0 to 2.8.0

Bump sentry-sdk from 1.14.0 to 2.8.0 #294

Workflow file for this run

name: CI/CD
on:
pull_request:
types: [
opened,
synchronize,
reopened,
]
jobs:
build:
name: Lint and Test
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Clone the repo
uses: actions/checkout@v2
- name: Build the Docker image
run: |
make build
echo "DEBUNKBOT_CACHE_TTL=60" >> .env
echo "DEBUNKBOT_TEST_GSHEET_SHEET_ID=${{ secrets.DEBUNKBOT_TEST_GSHEET_SHEET_ID }}" >> .env
echo "DEBUNKBOT_TEST_GSHEET_SHEET_WORKSHEETS=${{ secrets.DEBUNKBOT_TEST_GSHEET_SHEET_WORKSHEETS }}" >> .env
echo "DEBUNKBOT_TEST_GSHEET_FIRST_APPEARANCE=${{ secrets.DEBUNKBOT_TEST_GSHEET_FIRST_APPEARANCE }}" >> .env
echo "DEBUNKBOT_TEST_GSHEET_APPEARANCES=${{ secrets.DEBUNKBOT_TEST_GSHEET_APPEARANCES }}" >> .env
echo "DEBUNKBOT_TEST_GSHEET_RATING_COLUMN=${{ secrets.DEBUNKBOT_TEST_GSHEET_RATING_COLUMN }}" >> .env
echo "DEBUNKBOT_TEST_GSHEET_RATINGS=${{ secrets.DEBUNKBOT_TEST_GSHEET_RATINGS }}" >> .env
echo "DEBUNKBOT_TEST_GSHEET_CLAIM_DESCRIPTION=${{ secrets.DEBUNKBOT_TEST_GSHEET_CLAIM_DESCRIPTION }}" >> .env
echo "DEBUNKBOT_TEST_GSHEET_DEBUNK_URL=${{ secrets.DEBUNKBOT_TEST_GSHEET_DEBUNK_URL }}" >> .env
echo "DEBUNKBOT_SENTRY_DSN=${{ secrets.DEBUNKBOT_SENTRY_DSN }}" >> .env
- name: Create credentials.json
uses: RollyPeres/base64-to-path@v1
with:
filePath: ${{ github.workspace }}/debunkbot/test/credentials.json
encodedString: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
- name: Start app
run: make run
- name: Lint
run: make lint
- name: Test
run: make test
- name: Stop app
run: make stop