adding retry to logic that tries to get the config from the Statsig API #41
Workflow file for this run
This file contains 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: Lint and Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
statsig-lint-and-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup Rust Toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
- name: Setup Rust Platform | |
shell: bash | |
run: | | |
chmod a+x setup.sh | |
./setup.sh | |
- name: Lint and test | |
shell: bash | |
run: | | |
chmod a+x lint_and_test.sh | |
./lint_and_test.sh | |
- name: Verify there were no code changes | |
shell: bash | |
run: | | |
chmod a+x code_changes.sh | |
./code_changes.sh |