diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 06a7b83..514c9c6 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -19,19 +19,24 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v2 + - name: Checkout code + uses: actions/checkout@v2 - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.22 + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.22 - - name: chmod - run: chmod +x ./setup-test.sh + - name: Configure Git + run: | + git config --global user.name "GitHub Actions" + git config --global user.email "anymail@example.com" - - name: setup tests - run: ./setup-test.sh + - name: chmod + run: chmod +x ./setup-test.sh - - name: Run tests - run: go test ./... + - name: setup tests + run: ./setup-test.sh + + - name: Run tests + run: go test ./...