File tree Expand file tree Collapse file tree 7 files changed +30
-31
lines changed Expand file tree Collapse file tree 7 files changed +30
-31
lines changed Original file line number Diff line number Diff line change 1
1
version : 2
2
2
updates :
3
- # dependabot for GitHub Actions for this repo
4
3
- package-ecosystem : " github-actions"
5
4
directory : " /"
6
5
schedule :
7
6
interval : " weekly"
8
- # dependabot for GitHub Actions for the template
9
- - package-ecosystem : " github-actions"
10
- directory : " template/.github/"
11
- schedule :
12
- interval : " weekly"
Original file line number Diff line number Diff line change @@ -3,20 +3,31 @@ name: Build
3
3
on :
4
4
push :
5
5
branches :
6
- - main
6
+ - master
7
7
pull_request :
8
8
9
9
jobs :
10
10
plugin_test :
11
11
name : asdf plugin test
12
12
strategy :
13
- matrix :
14
- os :
15
- - ubuntu-latest
16
- - macos-latest
17
- runs-on : ${{ matrix.os }}
13
+ fail-fast : false
14
+ matrix :
15
+ container :
16
+ - alpine:latest
17
+ - ubuntu:latest
18
+
19
+ runs-on : ubuntu-latest
20
+
21
+ container :
22
+ image : ${{ matrix.container }}
18
23
steps :
19
- - name : asdf_plugin_test
20
- uses : asdf-vm/actions/plugin-test@v4
24
+ - name : Install dependencies
25
+ run : |
26
+ if [ -f /etc/alpine-release ]; then
27
+ apk add --no-cache curl bash git
28
+ elif [ -f /etc/debian_version ]; then
29
+ apt-get update && apt-get install -y curl bash git
30
+ fi
31
+ - uses : asdf-vm/actions/plugin-test@v4
21
32
with :
22
- command : redis-cli --version
33
+ command : redis-cli --version
Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ name: Lint
3
3
on :
4
4
push :
5
5
branches :
6
- - main
6
+ - master
7
7
pull_request :
8
8
9
9
jobs :
10
- lint :
10
+ shellcheck :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Release
3
3
on :
4
4
push :
5
5
branches :
6
- - main
6
+ - master
7
7
8
8
permissions :
9
9
contents : write
15
15
steps :
16
16
- uses : GoogleCloudPlatform/release-please-action@v4
17
17
with :
18
- release-type : simple
18
+ release-type : simple
Original file line number Diff line number Diff line change 3
3
# lint this repo
4
4
shellcheck --shell=bash --external-sources \
5
5
setup.bash \
6
- scripts/*
6
+ scripts/* \
7
+ bin/* \
8
+ lib/*
7
9
8
10
shfmt --language-dialect bash --diff \
9
11
setup.bash \
10
- scripts/*
11
-
12
- # lint the template/
13
- shellcheck --shell=bash --external-sources \
14
- template/bin/* --source-path=template/lib/ \
15
- template/lib/* \
16
- template/scripts/*
17
-
18
- shfmt --language-dialect bash --diff \
19
- template/** /*
20
-
12
+ scripts/* \
13
+ bin/* \
14
+ lib/*
You can’t perform that action at this time.
0 commit comments