diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a0f7346..25d3ed8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,12 @@ on: [push, pull_request] jobs: build: + strategy: + matrix: + go_version: ["1.19", stable] uses: charmbracelet/meta/.github/workflows/build.yml@main + with: + go_version: ${{ matrix.go_version }} snapshot: uses: charmbracelet/meta/.github/workflows/snapshot.yml@main @@ -12,17 +17,4 @@ jobs: goreleaser_key: ${{ secrets.GORELEASER_KEY }} coverage: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: ^1 - - - name: Test - run: go test -failfast -race -coverpkg=./... -covermode=atomic -coverprofile=coverage.txt ./... -timeout 5m - - uses: codecov/codecov-action@v4 - with: - file: ./coverage.txt \ No newline at end of file + uses: charmbracelet/meta/.github/workflows/coverage.yml@main