Bump actions/upload-artifact from 4.3.3 to 4.3.4 #250
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.6 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.16.x | |
- run: make test | |
acctest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.6 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.16.x | |
- uses: actions/cache@v4.0.2 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go | |
- name: Bring up kafka + zk | |
run: docker-compose up -d | |
- name: "Run tests" | |
run: | | |
export PATH=$PATH:$(go env GOPATH)/bin # temporary fix. See https://github.com/actions/setup-go/issues/14 | |
go install github.com/jstemmer/go-junit-report | |
trap "go-junit-report < go-test.out > go-test-report.xml" EXIT | |
make testacc | tee go-test.out | |
- name: Upload test results | |
uses: actions/upload-artifact@v4.3.4 | |
with: | |
name: acc-test-results.xml | |
path: go-test-report.xml | |
# Use always() to always run this step to publish test results when there are test failures | |
if: always() |