Fixed: AES/ECB/PCKS5padding panic #19 #148
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: test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
vm-os: [ubuntu-latest, windows-latest] | |
go-version: [ 1.16, 1.19 ] | |
runs-on: ${{ matrix.vm-os }} | |
env: | |
GO111MODULE: on | |
GOPROXY: https://goproxy.cn | |
steps: | |
- name: Install go ${{ matrix.go-version }} | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Install dependencies | |
uses: actions/checkout@v3 | |
- name: Test and create coverage file | |
run: go test -coverprofile='coverage.txt' -covermode=atomic | |
- name: Upload coverage file to codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{secrets.CODECOV_TOKEN}} |