Bump github.com/onmetal/ipam from 0.0.23 to 0.0.24 (#133) #187
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: Pull Request Code test | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
paths-ignore: | |
- '**.md' | |
- 'deploy/**' | |
pull_request_target: | |
paths-ignore: | |
- 'docs/**' | |
- '**/*.md' | |
jobs: | |
run: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- run: | | |
mkdir -p ~/.ssh | |
for key in rsa ecdsa ed25519; do | |
ssh-keyscan -t $key github.com 2>/dev/null >> ~/.ssh/known_hosts | |
done | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.BOT_PRIVATE_KEY }} | |
- run: ./hack/setup-git-redirect.sh | |
- run: make build | |
- run: make test |