Bump github.com/urfave/cli/v2 from 2.25.7 to 2.27.1 #94
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
# Davinci CLI Test | |
on: [push, pull_request] | |
name: Davinci CLI Test | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.18.x, 1.19.x, 1.20] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v3 | |
- uses: actions/checkout@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- run: go install | |
- run: go run main.go new-passphrase --folder ./ | |
- run: go run main.go new-keypair --size 2048 --passphrase ./passphrase.txt --folder ./ | |
- run: go run main.go key --folder ./ | |
- run: go run main.go encrypt --input ./README.md --output ./secret.txt --key ./key.txt --passphrase ./passphrase.txt --public-key ./publicKey.pem | |
- run: go run main.go decrypt --input ./secret.txt --output ./README-after.md --passphrase ./passphrase.txt --private-key ./privateKey.pem | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Decrypted README | |
path: ./README-after.md |