Skip to content

Update pr-flow.yml

Update pr-flow.yml #29

Workflow file for this run

name: pr-flow
on:
pull_request: {}
workflow_dispatch: {}
jobs:
lint:
name: run golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@v5
test:
name: run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Build & test
run: make ci-test
- name: Upload log files
uses: actions/upload-artifact@v4
if: always()
with:
name: test-report.log
path: |
**/*.log
if-no-files-found: error