diff options
-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: |