diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-08-06 21:42:06 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-08-06 21:42:06 -0500 |
commit | 54efd6488c27d54b2ff3fc946d489f1b0e047177 (patch) | |
tree | 1a7b0d631cde3517b6bd91c6528606d8fdd76cc1 /.github/workflows | |
parent | Bump more GHA files (diff) | |
download | locusts-54efd6488c27d54b2ff3fc946d489f1b0e047177.tar locusts-54efd6488c27d54b2ff3fc946d489f1b0e047177.tar.gz locusts-54efd6488c27d54b2ff3fc946d489f1b0e047177.tar.bz2 locusts-54efd6488c27d54b2ff3fc946d489f1b0e047177.tar.lz locusts-54efd6488c27d54b2ff3fc946d489f1b0e047177.tar.xz locusts-54efd6488c27d54b2ff3fc946d489f1b0e047177.tar.zst locusts-54efd6488c27d54b2ff3fc946d489f1b0e047177.zip |
Allow CI to run when CI files are edited
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/c.yml | 6 | ||||
-rw-r--r-- | .github/workflows/docker.yml | 6 | ||||
-rw-r--r-- | .github/workflows/dotnet.yml | 2 | ||||
-rw-r--r-- | .github/workflows/go.yml | 14 | ||||
-rw-r--r-- | .github/workflows/python.yml | 14 | ||||
-rw-r--r-- | .github/workflows/rust.yml | 2 |
6 files changed, 28 insertions, 16 deletions
diff --git a/.github/workflows/c.yml b/.github/workflows/c.yml index 689156d..0952950 100644 --- a/.github/workflows/c.yml +++ b/.github/workflows/c.yml @@ -5,10 +5,12 @@ on: paths: - "**.c" - "**.h" + - ".github/workflows/c.yml" pull_request: paths: - "**.c" - "**.h" + - ".github/workflows/c.yml" jobs: cmake: @@ -41,7 +43,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: "3.x" - name: Install dependencies run: python -m pip install meson ninja - name: Configure Meson @@ -49,4 +51,4 @@ jobs: - name: Build run: ninja -C build - name: Test - run: meson test -C build --print-errorlogs
\ No newline at end of file + run: meson test -C build --print-errorlogs diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3eec611..f5eea9c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -5,10 +5,12 @@ on: paths: - "Dockerfile" - "include/locusts.go" + - ".github/workflows/docker.yml" pull_request: paths: - "Dockerfile" - "include/locusts.go" + - ".github/workflows/docker.yml" env: REGISTRY: ghcr.io @@ -30,11 +32,11 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'oldstable' + go-version: "oldstable" - name: Set up Tinygo uses: acifani/setup-tinygo@v2 with: - install-binaryen: 'false' + install-binaryen: "false" - name: Build the file run: tinygo build -o locusts ./include - name: Extract metadata diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 1255b3b..7ae8ac1 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -6,11 +6,13 @@ on: - "**.cs" - "**.csproj" - "**.sln" + - ".github/workflows/dotnet.yml" pull_request: paths: - "**.cs" - "**.csproj" - "**.sln" + - ".github/workflows/dotnet.yml" jobs: test: diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 875286d..68feb69 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -3,12 +3,14 @@ name: Go on: push: paths: - - '**.go' - - '**go.mod' + - "**.go" + - "**go.mod" + - ".github/workflows/go.yml" pull_request: paths: - - '**.go' - - '**go.mod' + - "**.go" + - "**go.mod" + - ".github/workflows/go.yml" jobs: build: @@ -22,8 +24,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version: "stable" - name: Build run: go build -v . - name: Test - run: go test -v .
\ No newline at end of file + run: go test -v . diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 27a8bf8..9d20089 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -3,12 +3,14 @@ name: Python on: push: paths: - - '**.py' - - 'pyproject.toml' + - "**.py" + - "pyproject.toml" + - ".github/workflows/python.yml" pull_request: paths: - - '**.py' - - 'pyproject.toml' + - "**.py" + - "pyproject.toml" + - ".github/workflows/python.yml" jobs: build: @@ -23,6 +25,6 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: "3.x" - name: Test - run: python -m unittest discover -s src/locusts-r-us
\ No newline at end of file + run: python -m unittest discover -s src/locusts-r-us diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 833f2c8..4705baf 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -5,10 +5,12 @@ on: paths: - "**.rs" - "Cargo.**" + - ".github/workflows/rust.yml" pull_request: paths: - "**.rs" - "Cargo.**" + - ".github/workflows/rust.yml" jobs: rust: |