Skip to content

build(deps): bump the go-integration group in /tests/integration with 2 updates #155

build(deps): bump the go-integration group in /tests/integration with 2 updates

build(deps): bump the go-integration group in /tests/integration with 2 updates #155

Workflow file for this run

name: Pre-commit
on:
pull_request:
permissions:
contents: read
jobs:
precommit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version-file: cmd/lambda/go.mod
cache: true
cache-dependency-path: cmd/lambda/go.sum
- uses: hashicorp/setup-packer@1aa358be5cf73883762b302a3a03abd66e75b232 # v3
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3
- name: Install tools
run: |
if ! command -v shellcheck >/dev/null 2>&1; then
sudo apt-get update
sudo apt-get install -y shellcheck
fi
go install honnef.co/go/tools/cmd/staticcheck@v0.5.1
curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.12"
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
with:
extra_args: --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}