chore(deps): update module github.com/stretchr/testify to v1.10.0 #59
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: Lint & Test | |
on: [pull_request] | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Trunk | |
uses: trunk-io/trunk-action@v1 | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
- name: Checkout mage | |
uses: actions/checkout@v4 | |
with: | |
repository: magefile/mage | |
path: mage | |
- name: Install mage | |
run: | | |
cd mage | |
mkdir -p "$(go env GOPATH)" | |
go run bootstrap.go | |
- name: Install golangci-lint | |
run: | | |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$(go env GOPATH)/bin" latest | |
- name: Run checks via mage | |
run: | | |
GOBIN="$(go env GOPATH)/bin" | |
export PATH="${PATH}:${GOBIN}" | |
mage test |