mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-15 07:24:04 -08:00
dd3a0e64da
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](82d40c283a...9d1e0624a7
)
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
35 lines
885 B
YAML
35 lines
885 B
YAML
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'README.md'
|
|
- 'CONTRIBUTING.md'
|
|
- 'COPYING'
|
|
- 'website/**'
|
|
- '.github/*.md'
|
|
- '.github/FUNDING.yml'
|
|
|
|
name: Validate Code
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
defaults:
|
|
run:
|
|
working-directory: ${{ github.workspace }}/src
|
|
steps:
|
|
- name: Install Go
|
|
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
|
|
with:
|
|
go-version: 1.21
|
|
cache-dependency-path: src/go.sum
|
|
- name: Checkout code
|
|
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
|
|
- name: Golang CI
|
|
uses: golangci/golangci-lint-action@9d1e0624a798bb64f6c3cea93db47765312263dc
|
|
with:
|
|
working-directory: src
|
|
- name: Unit Tests
|
|
run: go test -v ./...
|