Skip to content

Commit

Permalink
Update github actions to latest versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinling committed Jul 6, 2024
1 parent 828d667 commit b07bbbf
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

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

- uses: awalsh128/cache-apt-pkgs-action@latest
with:
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
VCPKG_INSTALLED_DIR: ${{ github.workspace }}/vcpkg/installed

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
Expand Down Expand Up @@ -94,14 +94,15 @@ jobs:
args: --release

- name: Test
uses: GabrielBB/xvfb-action@v1
uses: coactions/setup-xvfb@v1
with:
run: cargo test

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: Packetry ${{ matrix.os }}
name: Binary for ${{ matrix.os }}
path: |
target/release/packetry
target/release/packetry.exe
if-no-files-found: error
if: matrix.rust == 'stable'

0 comments on commit b07bbbf

Please sign in to comment.