Skip to content

chore(deps): update dependency aquaproj/aqua to v2.30.0 #145

chore(deps): update dependency aquaproj/aqua to v2.30.0

chore(deps): update dependency aquaproj/aqua to v2.30.0 #145

Workflow file for this run

---
name: lint
on:
pull_request:
branches:
- main
workflow_dispatch:
workflow_call:
# concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}-${{ github.action }}
# cancel-in-progress: false
permissions:
pull-requests: read
contents: read
checks: write
jobs:
lint:
name: lint
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
checks: write # For trunk to post annotations
contents: read # For repo checkout
steps:
- name: checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: set-aqua-policy-if-file-exists
run: |
if [ -f aqua-policy.yaml ]; then
echo "AQUA_POLICY_CONFIG=${GITHUB_WORKSPACE}/aqua-policy.yaml:${AQUA_POLICY_CONFIG}" >> $GITHUB_ENV
else
echo "👉 No aqua-policy.yaml file found, skipping setting AQUA_POLICY_CONFIG"
fi
- uses: aquaproj/aqua-installer@fd2089d1f56724d6456f24d58605e6964deae124 # v2.3.2
continue-on-error: true
with:
aqua_version: v2.27.1
enable_aqua_install: true
aqua_opts: '--tags lint' # if using aqua.yaml config any special items in your repo like Golangci-lint using tags so it only installs what's needed
env:
AQUA_LOG_LEVEL: debug
AQUA_OPTS: ''
- name: trunk-check
uses: trunk-io/trunk-action@718b71fb3e4d83f6734f0c372d92ee7d4c9976d7 # v1.1.11
with:
arguments: --github-annotate-new-only=true