Skip to content

terragen txtar archive #5

terragen txtar archive

terragen txtar archive #5

Workflow file for this run

name: pr
on:
pull_request:
concurrency:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
group: ${{ github.workflow }}-${{ github.ref }} # To only cancel in-progress runs of the same workflow
cancel-in-progress: true
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
test:
permissions:
contents: read # for actions/checkout to fetch code
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017 # v4.0.0
with:
fetch-depth: 1
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: './go.mod'
check-latest: true
cache-dependency-path: ./go.mod
- name: run CI
run: go run cmd/tools/ci/*.go -pr -doc -nodiff