Bump cryptography from 41.0.6 to 42.0.4 in /python #14
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: Digital Signature Tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
env: | |
# Purely testing keys that have no access to JP systems etc. | |
PUBLIC: -----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoZ203HV7SOVSu0U9aJa2\nJjAPgyroUH76rKdnPZCgUDKhDcFmNdYC76VXAUL9e9ajVOxIZyBi4FIuZlw2sHMs\nJwXQigxl6B5ZnBn71rkIyXSlvobY3TaTM8of64Wu/1HUgVIueogANTNslF9Kf7nF\ns1HOWWY/H5iVgRPrIXZJ/AjkPCYwlBLUqU58rvogBuaFD1Q14cHJlaxtj/HM1GZS\n4q0Dg6M5EAwZxRtHImliYbIy8zjq2yhY7lKrMdXfK224Ovc1xrY4M875OPz3ppn5\nuChRQqWviFkbCShs83JV6ncfmCmxQRObYQLkDwSAcgPUIWaNM6TUZQwtpZ+1Magi\njwIDAQAB\n-----END PUBLIC KEY----- | |
PRIVATE: -----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQChnbTcdXtI5VK7\nRT1olrYmMA+DKuhQfvqsp2c9kKBQMqENwWY11gLvpVcBQv171qNU7EhnIGLgUi5m\nXDawcywnBdCKDGXoHlmcGfvWuQjJdKW+htjdNpMzyh/rha7/UdSBUi56iAA1M2yU\nX0p/ucWzUc5ZZj8fmJWBE+shdkn8COQ8JjCUEtSpTnyu+iAG5oUPVDXhwcmVrG2P\n8czUZlLirQODozkQDBnFG0ciaWJhsjLzOOrbKFjuUqsx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ai6tbSUHAsKok\nfdoI/+wGLEwF7KqtD0laEWaWu9Vt/dPGXBfpSkZ0rc86YB1srL5mTwPKNqWi42uy\n40NLkJ7mmsrjeTOplc8Eh+rjjbweGYRJf7g3CkArNQKBgHosHrZdUYm6OU0JqfC0\nmdhfx3lx51CxGFH/WhhTxngr1EeQOZg5la5MQXOsW4XAWj91uW5nLSPD7yGQH/HM\n7ef20OXlTVdaJEfzf3wc1ZszqyxD0h9J83zxA18sdYIiraMjFf0TJN9sp+n+Kayl\nStjA0osTStTg0tthBjBmDe7L\n-----END PRIVATE KEY----- | |
permissions: | |
contents: read | |
jobs: | |
test-python: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./python | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Test with pytest | |
run: | | |
pytest | |
test-js: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./js | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
cache-dependency-path: "./js/yarn.lock" | |
- run: yarn install --frozen-lockfile | |
- run: yarn test | |
test-go: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./go | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: ">=1.19.0" | |
- run: go test | |
test-java: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./java | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "17" | |
distribution: "temurin" | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots package |