-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (32 loc) · 971 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build and run
on:
push:
branches: [ main ]
paths-ignore:
- '**.md' # Do not need to run CI for markdown changes.
pull_request:
branches: [ main ]
paths-ignore:
- '**.md'
jobs:
build-and-run:
runs-on: ubuntu-latest
permissions:
id-token: write # Needed if using OIDC to get release secrets.
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # If you only need the current version keep this.
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install poetry
run: pipx install poetry
- name: Install dependencies
run: poetry install
- uses: launchdarkly/gh-actions/actions/verify-hello-app@verify-hello-app-v1.0.0
with:
use_server_key: true
role_arn: ${{ vars.AWS_ROLE_ARN }}
command: poetry run python main.py