Merge pull request #505 from qor5/more-x #1291
This file contains hidden or 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: go | |
| permissions: | |
| contents: read | |
| checks: write | |
| pull-requests: read | |
| on: | |
| push: | |
| branches: [master] | |
| paths-ignore: | |
| - '**/dist/**' | |
| - '**/*.md' | |
| - '**/docs/**' | |
| pull_request: | |
| branches: [master] | |
| paths-ignore: | |
| - '**/dist/**' | |
| - '**/*.md' | |
| - '**/docs/**' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: szenius/[email protected] | |
| with: | |
| timezoneLinux: 'Asia/Shanghai' | |
| - uses: actions/checkout@v2 | |
| - name: Set up Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: 1.22.3 | |
| - name: Build | |
| run: go build -v ./... | |
| - name: Test | |
| run: go test -v ./... |