fix(计算工具): 修复float与int计算精度丢失问题 (#25) #60
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 Codecov | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Cache Maven Repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-${{ hashFiles('**/pom.xml') }} | |
- name: Build with Maven | |
run: ./mvnw test | |
- name: Codecov | |
uses: codecov/[email protected] | |
with: | |
# Repository upload token - get it from codecov.io. Required only for private repositories | |
token: ${{ secrets.CODECOV_TOKEN }} |