Skip to content

Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#140) #169

Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#140)

Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#140) #169

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
tags: [ 'v*' ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
container:
image: ghcr.io/hairyhenderson/gomplate-ci-build:latest
steps:
- run: |
git config --global user.email "bogus@example.com"
git config --global user.name "Someone"
git config --global --add safe.directory /__w/go-which/go-which
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: make test
- name: make test
run: |
[ -n "$CC_TEST_REPORTER_ID" ] && cc-test-reporter before-build
make test
EXIT_CODE=$?
if [ -n "$CC_TEST_REPORTER_ID" ]; then
# workaround from https://github.com/codeclimate/test-reporter/issues/378
cc-test-reporter after-build -t gocov -p $(go list -m) --exit-code $EXIT_CODE
fi
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
windows-test:
runs-on: windows-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.21'
check-latest: true
- run: |
git config --global user.email "bogus@example.com"
git config --global user.name "Someone"
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: make test
lint:
runs-on: ubuntu-latest
container:
image: ghcr.io/hairyhenderson/gomplate-ci-build:latest
steps:
- uses: actions/checkout@v4
- run: make ci-lint