|
9 | 9 | branches: "**" |
10 | 10 |
|
11 | 11 | jobs: |
12 | | - |
13 | 12 | lint: |
14 | | - runs-on: ubuntu-20.04 |
| 13 | + runs-on: ubuntu-24.04 |
15 | 14 |
|
16 | 15 | steps: |
17 | | - - uses: actions/checkout@v2 |
| 16 | + - uses: actions/checkout@v2 |
18 | 17 |
|
19 | | - # https://github.com/luizm/action-sh-checker |
20 | | - - name: Run shellcheck and shfmt |
21 | | - uses: luizm/action-sh-checker@master |
22 | | - with: |
23 | | - sh_checker_exclude: tests |
24 | | - sh_checker_comment: true |
| 18 | + # https://github.com/luizm/action-sh-checker |
| 19 | + - name: Run shellcheck and shfmt |
| 20 | + uses: luizm/action-sh-checker@master |
| 21 | + with: |
| 22 | + sh_checker_exclude: tests |
| 23 | + sh_checker_comment: true |
25 | 24 |
|
26 | 25 | test: |
27 | 26 | # Test on older Ubuntu with OpenSSL < 1.1 and newer with OpenSSL >= 1.1 |
28 | 27 | runs-on: ${{ matrix.os }} |
29 | 28 | strategy: |
30 | 29 | matrix: |
31 | | - os: [ubuntu-20.04, ubuntu-22.04, macos-latest] |
| 30 | + os: |
| 31 | + [ |
| 32 | + ubuntu-20.04, |
| 33 | + ubuntu-22.04, |
| 34 | + ubuntu-24.04, |
| 35 | + ubuntu-latest, |
| 36 | + macos-12, |
| 37 | + macos-13, |
| 38 | + macos-14, |
| 39 | + macos-latest, |
| 40 | + ] |
32 | 41 |
|
33 | 42 | steps: |
34 | | - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
35 | | - - uses: actions/checkout@v2 |
| 43 | + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
| 44 | + - uses: actions/checkout@v2 |
36 | 45 |
|
37 | | - - name: Print bash version |
38 | | - run: bash --version |
| 46 | + - name: Print bash version |
| 47 | + run: bash --version |
39 | 48 |
|
40 | | - - name: Print OpenSSL version |
41 | | - run: openssl version |
| 49 | + - name: Print OpenSSL version |
| 50 | + run: openssl version |
42 | 51 |
|
43 | | - - name: Print Git version |
44 | | - run: git version |
| 52 | + - name: Print Git version |
| 53 | + run: git version |
45 | 54 |
|
46 | | - # Configure default Git branch name to suppress hint warnings |
47 | | - - name: Configure default Git branch to "main" |
48 | | - run: git config --global init.defaultBranch main |
| 55 | + # Configure default Git branch name to suppress hint warnings |
| 56 | + - name: Configure default Git branch to "main" |
| 57 | + run: git config --global init.defaultBranch main |
49 | 58 |
|
50 | | - - name: Install and set up bats-core |
51 | | - run: | |
52 | | - git clone https://github.com/bats-core/bats-core.git /tmp/bats-core-repo |
53 | | - mkdir -p /tmp/bats-core |
54 | | - bash /tmp/bats-core-repo/install.sh /tmp/bats-core |
| 59 | + - name: Install and set up bats-core |
| 60 | + run: | |
| 61 | + git clone https://github.com/bats-core/bats-core.git /tmp/bats-core-repo |
| 62 | + mkdir -p /tmp/bats-core |
| 63 | + bash /tmp/bats-core-repo/install.sh /tmp/bats-core |
55 | 64 |
|
56 | | - - name: Run tests |
57 | | - run: /tmp/bats-core/bin/bats tests/ |
| 65 | + - name: Run tests |
| 66 | + run: /tmp/bats-core/bin/bats tests/ |
0 commit comments