mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-17 08:24:04 -08:00
57d38621c5
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](639cd343e1...3a91952989
)
---
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
887 B
YAML
35 lines
887 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@93397bea11091df50f3d7e59dc26a7711a8bcfbe
|
|
with:
|
|
go-version: 1.20.5
|
|
cache-dependency-path: src/go.sum
|
|
- name: Checkout code
|
|
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
|
|
- name: Golang CI
|
|
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc
|
|
with:
|
|
working-directory: src
|
|
- name: Unit Tests
|
|
run: go test -v ./...
|