Skip to content

Merge pull request #86 from etcd-io/dependabot/github_actions/actions… #223

Merge pull request #86 from etcd-io/dependabot/github_actions/actions…

Merge pull request #86 from etcd-io/dependabot/github_actions/actions… #223

Workflow file for this run

---
name: tests
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
test:
name: lint
runs-on: ubuntu-latest
steps:
- id: goversion
run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: ${{ steps.goversion.outputs.goversion }}
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: tests
run: |
make verify
make test