adding 2 retries to aws client #70
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: tests | |
on: | |
push: | |
branches: | |
- dev | |
- main | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: linux | |
runs-on: ubuntu-22.04 | |
arch: x86_64 | |
name: "${{ matrix.os }}-${{ matrix.arch }}" | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Install Nim | |
uses: iffy/install-nim@2546aaf825947f6bf76be75ff78d74176992e99d # 5.0.6 | |
with: | |
version: "binary:2.0.8" | |
env: | |
GITHUB_TOKEN: ${{ github.token }} # Avoid rate limiting. | |
- name: Install Nimble dependencies | |
run: nimble --accept install --depsOnly | |
- name: Build | |
run: nimble build # Trigger `before build` task to install headers. | |
- name: Run tests | |
run: nimble test |