Skip to content

Commit

Permalink
Update GHA actions
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx committed Jun 1, 2024
1 parent 417ab03 commit c10100b
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
# i386 supports actions/checkout@v1 only (no Node.js 32-bit binary)
# and and actions/checkout@v1 has some issues with nested repositories
if: startsWith(matrix.image, 'amd64')
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: kward/shunit2
path: ${{github.workspace}}/tests/shunit2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test-msys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
shared: [on, off]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
run: ctest --test-dir build --output-on-failure

- name: Checkout shell test framework
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: kward/shunit2
path: ${{ github.workspace }}/tests/shunit2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test-rh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: yum -y install sudo git gcc gcc-c++ make cmake clang

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand All @@ -87,7 +87,7 @@ jobs:
run: sudo yum -y install findutils

- name: Checkout shell test framework
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: kward/shunit2
path: ${{github.workspace}}/tests/shunit2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
env: ${{ matrix.env }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand All @@ -77,7 +77,7 @@ jobs:
run: ctest --test-dir build --output-on-failure

- name: Checkout shell test framework
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: kward/shunit2
path: ${{github.workspace}}/tests/shunit2
Expand All @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
CXX: clang++
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
MAKEFLAGS: j4
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
COVERITY_TOKEN: qjcM1CWLcq9PJB3yL0ZXIw
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand All @@ -60,4 +60,4 @@ jobs:
with:
email: maxirmx@sw.consulting
token: ${{ env.COVERITY_TOKEN }}
command: cmake --build build
command: cmake --build build
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
clang-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: DoozyX/clang-format-lint-action@v0.11
with:
source: '.'
Expand All @@ -52,5 +52,5 @@ jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ludeeus/action-shellcheck@master
4 changes: 2 additions & 2 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand All @@ -54,7 +54,7 @@ jobs:
run: nix build

- name: Checkout shell test framework
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: kward/shunit2
path: ${{github.workspace}}/tests/shunit2
Expand Down
4 changes: 2 additions & 2 deletions include/sexpp/sexp.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ class SEXP_PUBLIC_SYMBOL sexp_simple_string_t : public std::vector<octet_t>,
private sexp_char_defs_t {
public:
sexp_simple_string_t(void) = default;
sexp_simple_string_t(const octet_t *dt) : std::vector<octet_t>() { for (; *dt; ++dt) push_back(*dt); }
sexp_simple_string_t(const octet_t *bt, size_t ln) : std::vector<octet_t>(ln) { for (size_t s = 0; s < ln; ++bt, ++s ) push_back(*bt); }
sexp_simple_string_t(const octet_t *dt);
sexp_simple_string_t(const octet_t *bt, size_t ln);
sexp_simple_string_t &append(int c)
{
push_back((octet_t)(c & 0xFF));
Expand Down

0 comments on commit c10100b

Please sign in to comment.