Skip to content

Commit

Permalink
Attempt to fix
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Strapp <[email protected]>
  • Loading branch information
RosstheRoss committed Aug 6, 2024
1 parent 20c6710 commit 8620d5f
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout
- name: Configure CMake
run: cmake -B build -S .
- name: Build
Expand All @@ -37,9 +37,9 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,34 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go
with:
go-version: 'stable'
- name: Set up Tinygo
uses: acifani/setup-tinygo@v2
uses: acifani/setup-tinygo
with:
install-binaryen: 'false'
- name: Build the file
run: tinygo build -o locusts ./include
- name: Extract metadata
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Login to GitHub Registry
uses: docker/login-action@v2
uses: docker/login-action
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v5
uses: docker/build-push-action
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout
- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet
with:
cache: true
- name: Install dependencies
Expand All @@ -41,11 +41,11 @@ jobs:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet
with:
source-url: https://nuget.pkg.github.com/locusts-r-us/index.json
cache: true
Expand All @@ -64,11 +64,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet
- name: Install dependencies
run: dotnet restore
- name: Build the package
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go
with:
go-version: 'stable'
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python
with:
python-version: '3.x'
- name: Test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
uses: actions/checkout
- uses: actions-rust-lang/setup-rust-toolchain
- name: Test
run: cargo test --verbose
2 changes: 1 addition & 1 deletion src/Locusts.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<PropertyGroup>
<TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>latest</LangVersion>
<IsPackable>true</IsPackable>
<IsTrimmable
Expand Down

0 comments on commit 8620d5f

Please sign in to comment.