Skip to content

feat(14): dynamic filling of missing variables for pr title #19

feat(14): dynamic filling of missing variables for pr title

feat(14): dynamic filling of missing variables for pr title #19

Workflow file for this run

name: ci
on:
pull_request:
permissions:
contents: read
env:
GO_VERSION: "1.21"
jobs:
go-mod:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/checkout@v3
- name: Check go mod
run: |
go mod tidy
git diff --exit-code go.mod
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: go test ./...