diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3dfae59..a05d3ba 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -17,6 +17,12 @@ jobs: with: go-version: ${{ matrix.go }} + - name: Cache Go modules + uses: actions/cache@v2 + with: + path: ./ + key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('go.sum') }} + - name: Run go test run: go test -v ./... @@ -33,6 +39,12 @@ jobs: with: go-version: ${{ matrix.go }} + - name: Cache Go modules + uses: actions/cache@v2 + with: + path: ./ + key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('go.sum') }} + - name: Run go test bench run: go test -bench=. @@ -46,6 +58,12 @@ jobs: with: go-version: '1.20' + - name: Cache Go modules + uses: actions/cache@v2 + with: + path: ./ + key: ${{ runner.os }}-go-1.20-${{ hashFiles('go.sum') }} + - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: diff --git a/Readme.md b/Readme.md index 409b1e9..f38516b 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,6 @@ # Token-Go -This library focuses on solving login authentication problems, such as: login, multi-account login, shared token, logout, kickout, banned, SSO ... +This library focuses on solving login authentication problems, such as: login, multi-account login, shared token, logout, kickout, banned, second auth, SSO ... ## Installation