Skip to content

chore: add readme en/cn doc (#7) #58

chore: add readme en/cn doc (#7)

chore: add readme en/cn doc (#7) #58

Workflow file for this run

name: Tests
on: [ push, pull_request ]
jobs:
ut:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Set execute permission for tools.sh
run: chmod +x ./hack/tools.sh
- name: Unit Test
if: success() && files.exists('**/*_test.go')

Check failure on line 28 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 28, Col: 13): Unrecognized named-value: 'files'. Located at position 14 within expression: success() && files.exists('**/*_test.go')
run: make test