arnaucube
arnaucube/arboPublic Self-hosted repository
arbo/.github/workflows/test.yml
.github/workflows/test.ymlRaw
 1name: Test
 2on: [push, pull_request]
 3jobs:
 4  test:
 5    # matrix strategy from: https://github.com/mvdan/github-actions-golang/blob/master/.github/workflows/test.yml
 6    strategy:
 7      matrix:
 8        go-version: [1.21.x]
 9        platform: [ubuntu-latest]
10    runs-on: ${{ matrix.platform }}
11    steps:
12    - name: Install Go
13      uses: actions/setup-go@v6
14      with:
15        go-version: ${{ matrix.go-version }}
16        cache: false
17    - name: Checkout code
18      uses: actions/checkout@v2
19    - name: Run tests
20      run: go test ./...