diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-08-06 16:09:19 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-08-06 16:21:41 -0500 |
commit | e7749461bfa5abc00b946f844a85b25b6c12ec85 (patch) | |
tree | 254f2c17d0d231b8512a6016665a3a89ce477b80 | |
parent | Unleash the locust CI (diff) | |
download | locusts-e7749461bfa5abc00b946f844a85b25b6c12ec85.tar locusts-e7749461bfa5abc00b946f844a85b25b6c12ec85.tar.gz locusts-e7749461bfa5abc00b946f844a85b25b6c12ec85.tar.bz2 locusts-e7749461bfa5abc00b946f844a85b25b6c12ec85.tar.lz locusts-e7749461bfa5abc00b946f844a85b25b6c12ec85.tar.xz locusts-e7749461bfa5abc00b946f844a85b25b6c12ec85.tar.zst locusts-e7749461bfa5abc00b946f844a85b25b6c12ec85.zip |
Attempt to fix
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/c.yml | 8 | ||||
-rw-r--r-- | .github/workflows/docker.yml | 9 | ||||
-rw-r--r-- | .github/workflows/dotnet.yml | 9 | ||||
-rw-r--r-- | .github/workflows/go.yml | 10 | ||||
-rw-r--r-- | .github/workflows/python.yml | 8 | ||||
-rw-r--r-- | .github/workflows/rust.yml | 6 | ||||
-rw-r--r-- | src/Locusts.csproj | 2 |
7 files changed, 26 insertions, 26 deletions
diff --git a/.github/workflows/c.yml b/.github/workflows/c.yml index 417dac6..689156d 100644 --- a/.github/workflows/c.yml +++ b/.github/workflows/c.yml @@ -2,9 +2,9 @@ name: C on: push: - # paths: - # - "**.c" - # - "**.h" + paths: + - "**.c" + - "**.h" pull_request: paths: - "**.c" @@ -26,7 +26,7 @@ jobs: - name: Build run: cmake --build build - name: Test - run: ctest --test-dir build --output-on-failure + run: ctest --test-dir build --output-on-failure -C Debug meson: name: Meson Builds diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 2ea214d..7180259 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -17,17 +17,20 @@ env: jobs: build-and-push: runs-on: ubuntu-latest + permissions: + contents: read + packages: write steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: 'stable' + go-version: 'oldstable' - name: Set up Tinygo uses: acifani/setup-tinygo@v2 with: diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 46ebf77..44571ad 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -25,8 +25,6 @@ jobs: uses: actions/checkout@v4 - name: Setup .NET uses: actions/setup-dotnet@v4 - with: - cache: true - name: Install dependencies run: dotnet restore - name: Test @@ -48,9 +46,8 @@ jobs: uses: actions/setup-dotnet@v4 with: source-url: https://nuget.pkg.github.com/locusts-r-us/index.json - cache: true env: - NUGET_API_KEY: ${{ secrets.GITHUB_TOKEN }} + NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Install dependencies run: dotnet restore - name: Build the package @@ -69,6 +66,8 @@ jobs: fetch-depth: 0 - name: Setup .NET uses: actions/setup-dotnet@v4 + env: + NUGET_AUTH_TOKEN: ${{ secrets.NUGET_KEY }} - name: Install dependencies run: dotnet restore - name: Build the package @@ -76,5 +75,3 @@ jobs: - name: Publish the package run: | dotnet nuget push src/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json - env: - NUGET_API_KEY: ${{ secrets.NUGET_KEY }}
\ No newline at end of file diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0406c21..875286d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,9 +2,9 @@ name: Go on: push: - # paths: - # - '**.go' - # - '**go.mod' + paths: + - '**.go' + - '**go.mod' pull_request: paths: - '**.go' @@ -18,9 +18,9 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: 'stable' - name: Build diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index c504855..27a8bf8 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -2,9 +2,9 @@ name: Python on: push: - # paths: - # - '**.py' - # - 'pyproject.toml' + paths: + - '**.py' + - 'pyproject.toml' pull_request: paths: - '**.py' @@ -21,7 +21,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Test diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6f6ec8a..833f2c8 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,9 +2,9 @@ name: Rust on: push: - # paths: - # - "**.rs" - # - "Cargo.**" + paths: + - "**.rs" + - "Cargo.**" pull_request: paths: - "**.rs" diff --git a/src/Locusts.csproj b/src/Locusts.csproj index c3b329e..f646597 100644 --- a/src/Locusts.csproj +++ b/src/Locusts.csproj @@ -5,7 +5,7 @@ </PropertyGroup> <PropertyGroup> - <TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks> + <TargetFramework>netstandard2.0</TargetFramework> <LangVersion>latest</LangVersion> <IsPackable>true</IsPackable> <IsTrimmable |