github.com/bytedance/sonic@v1.11.7-0.20240517092252-d2edb31b167b/scripts/go_latest_test.yml (about) 1 name: Unit Test Go-Latest-Linux-X64 2 3 on: push 4 5 jobs: 6 build: 7 runs-on: [self-hosted, X64] 8 steps: 9 - name: Clear repository 10 run: sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE 11 12 - uses: actions/checkout@v2 13 14 - name: Set up Go 15 uses: actions/setup-go@v2 16 with: 17 go-version: 1.20.6 18 19 - uses: actions/cache@v2 20 with: 21 path: ~/go/pkg/mod 22 key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} 23 restore-keys: | 24 ${{ runner.os }}-go- 25 26 - name: script 27 run: | 28 sh ./scripts/go_latest.sh master 29