fix(hris): staff aren't being updated often enough #41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: main | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| release: | |
| types: | |
| - published | |
| env: | |
| GITHUB_EVENT: ${{ toJson(github.event) }} | |
| GITHUB_EVENT_NAME: ${{ github.event_name }} | |
| permissions: | |
| id-token: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.9' | |
| cache: pip | |
| cache-dependency-path: 'requirements/*.txt' | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get install libffi-dev libpq-dev | |
| - name: Setup Python and dependencies | |
| run: | | |
| pip install --no-warn-script-location \ | |
| -r requirements/core.txt \ | |
| -r requirements/test.txt | |
| pip install -e python-modules/cis_* | |
| - name: Run the tests! | |
| run: | | |
| ./ci/test.sh | |
| - name: Configure AWS | |
| uses: aws-actions/configure-aws-credentials@v4 | |
| with: | |
| role-to-assume: arn:aws:iam::320464205386:role/GitHubCIS | |
| aws-region: us-west-2 | |
| - name: Build the layer | |
| run: | | |
| ./ci/layer-build.sh | |
| - name: Upload the layer | |
| run: | | |
| ./ci/layer-upload.sh |