|
26 | 26 | with: |
27 | 27 | python-version: ${{ matrix.python-version }} |
28 | 28 |
|
29 | | - - name: Install age encryption tool |
30 | | - run: | |
31 | | - wget -q https://github.com/FiloSottile/age/releases/download/v1.2.0/age-v1.2.0-linux-amd64.tar.gz |
32 | | - tar -xzf age-v1.2.0-linux-amd64.tar.gz |
33 | | - sudo mv age/age /usr/local/bin/ |
34 | | - sudo mv age/age-keygen /usr/local/bin/ |
35 | | - rm -rf age age-v1.2.0-linux-amd64.tar.gz |
36 | | - age --version |
37 | | - |
38 | 29 | - name: Install Python dependencies |
39 | 30 | run: | |
40 | 31 | python -m pip install --upgrade pip |
|
65 | 56 | with: |
66 | 57 | python-version: ${{ matrix.python-version }} |
67 | 58 |
|
68 | | - - name: Install age encryption tool |
69 | | - run: | |
70 | | - wget -q https://github.com/FiloSottile/age/releases/download/v1.2.0/age-v1.2.0-darwin-amd64.tar.gz |
71 | | - tar -xzf age-v1.2.0-darwin-amd64.tar.gz |
72 | | - sudo mv age/age /usr/local/bin/ |
73 | | - sudo mv age/age-keygen /usr/local/bin/ |
74 | | - rm -rf age age-v1.2.0-darwin-amd64.tar.gz |
75 | | - age --version |
76 | | - |
77 | 59 | - name: Install Python dependencies |
78 | 60 | run: | |
79 | 61 | python -m pip install --upgrade pip |
@@ -115,25 +97,4 @@ jobs: |
115 | 97 | run: | |
116 | 98 | flake8 src/ tests/ --count --max-line-length=110 --max-complexity=10 --statistics |
117 | 99 |
|
118 | | - type-check: |
119 | | - runs-on: ubuntu-latest |
120 | | - needs: [test-linux, test-macos] |
121 | | - continue-on-error: true |
122 | | - |
123 | | - steps: |
124 | | - - uses: actions/checkout@v4 |
125 | | - |
126 | | - - name: Set up Python |
127 | | - uses: actions/setup-python@v5 |
128 | | - with: |
129 | | - python-version: "3.12" |
130 | | - |
131 | | - - name: Install dependencies |
132 | | - run: | |
133 | | - python -m pip install --upgrade pip |
134 | | - pip install mypy |
135 | | - pip install -e . |
136 | | - |
137 | | - - name: Run type checking with mypy |
138 | | - run: | |
139 | | - mypy src/ |
| 100 | +
|
0 commit comments