Skip to content

Commit 4292dbb

Browse files
committed
fix(build): add checkout actoin
1 parent 7e5dcd0 commit 4292dbb

7 files changed

Lines changed: 27 additions & 19 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
version: 2
22
updates:
3-
# dependabot for GitHub Actions for this repo
43
- package-ecosystem: "github-actions"
54
directory: "/"
65
schedule:
76
interval: "weekly"
8-
# dependabot for GitHub Actions for the template
9-
- package-ecosystem: "github-actions"
10-
directory: "template/.github/"
11-
schedule:
12-
interval: "weekly"

.github/workflows/build.yml

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,34 @@ name: Build
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77
pull_request:
88

99
jobs:
1010
plugin_test:
1111
name: asdf plugin test
1212
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+
- rockylinux:latest
18+
- ubuntu:latest
19+
20+
runs-on: ubuntu-latest
21+
22+
container:
23+
image: ${{ matrix.container }}
1824
steps:
19-
- name: asdf_plugin_test
20-
uses: asdf-vm/actions/plugin-test@v4
25+
- name: Install dependencies
26+
run: |
27+
if [ -f /etc/alpine-release ]; then
28+
apk add --no-cache curl bash
29+
elif [ -f /etc/debian_version ]; then
30+
apt-get update && apt-get install -y curl
31+
elif [ -f /etc/redhat-release ]; then
32+
yum install -y curl
33+
fi
34+
- uses: asdf-vm/actions/plugin-test@v4
2135
with:
22-
command: redis-cli --version
36+
command: redis-cli --version

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: Lint
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77
pull_request:
88

99
jobs:
10-
lint:
10+
shellcheck:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77

88
permissions:
99
contents: write
@@ -15,4 +15,4 @@ jobs:
1515
steps:
1616
- uses: GoogleCloudPlatform/release-please-action@v4
1717
with:
18-
release-type: simple
18+
release-type: simple

bin/latest-stable

100644100755
File mode changed.

scripts/format.bash

100644100755
File mode changed.

scripts/lint.bash

100644100755
File mode changed.

0 commit comments

Comments
 (0)