Skip to content

Commit e018a11

Browse files
committed
Improve portability
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
1 parent 3ada3ba commit e018a11

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@ permissions: read-all
1919
env:
2020
GOLANGCI_LINT_VERSION: v2.10
2121

22+
defaults:
23+
run:
24+
shell: bash
25+
2226
jobs:
2327
test:
2428
name: Continuous Integration
2529
runs-on: ubuntu-latest
2630
permissions:
2731
contents: read
28-
defaults:
29-
run:
30-
shell: bash
3132
steps:
3233
- name: Checkout
3334
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ lintcheck: tools
5757
$(BIN)/custom-gcl run ./...
5858

5959
.golangci.new.yml: .golangci.yml .golangci.strict.yml
60-
yq eval-all 'select(fileIndex == 0) *+ select(fileIndex == 1)' .golangci{,.strict}.yml > .golangci.new.yml
60+
yq eval-all 'select(fileIndex == 0) *+ select(fileIndex == 1)' .golangci.yml .golangci.strict.yml > .golangci.new.yml
6161

6262
lintcheck-new: tools .golangci.new.yml
6363
@branch=$$(git rev-parse --abbrev-ref HEAD); \

0 commit comments

Comments
 (0)