Skip to content

chore(deps): bump github.com/frederic-arr/rpsl-go from 0.0.0-20240831154502-46a71b831def to 0.1.0 #37

chore(deps): bump github.com/frederic-arr/rpsl-go from 0.0.0-20240831154502-46a71b831def to 0.1.0

chore(deps): bump github.com/frederic-arr/rpsl-go from 0.0.0-20240831154502-46a71b831def to 0.1.0 #37

Workflow file for this run

# Terraform Provider testing workflow.
name: Tests
# This GitHub action runs your tests for each pull request and push.
# Optionally, you can turn it on using a schedule for regular testing.
on:
pull_request:
paths-ignore:
- 'README.md'
push:
paths-ignore:
- 'README.md'
# Testing only needs permissions to read the repository contents.
permissions:
contents: read
jobs:
# Ensure project builds before running testing matrix
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
cache: true
- run: go mod download
- run: go build -v .
- name: Run linters
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0
with:
version: latest
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
cache: true
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
- run: go generate ./...
- name: git diff
run: |
git diff --exit-code
if [ $? -ne 0 ]; then
echo "Unexpected difference in directories after code generation. Run 'go generate ./...' command and commit."
exit 1
fi