Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
naoki9911 committed Dec 31, 2023
1 parent 93a53b9 commit fbe8772
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: goto-bus-stop/setup-zig@v1
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: master
- run: zig fmt --check *.zig src/*.zig
Expand All @@ -18,16 +18,16 @@ jobs:
os: [ubuntu-latest, macos-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v3
- uses: goto-bus-stop/setup-zig@v1
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: master
- run: zig build test

macos-with-openssl:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: install dependencies
run: |
Expand All @@ -43,11 +43,11 @@ jobs:
create-container:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3

- uses: docker/build-push-action@v2
- uses: docker/build-push-action@v5
with:
file: Dockerfile
tags: tls13-zig:tls13zig_base
Expand All @@ -57,7 +57,7 @@ jobs:
cache-to: type=gha,mode=max,scope=buildx-${{ github.workflow }}-${{ github.job }}
outputs: type=docker,dest=/tmp/tls13-zig.tar

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: tls13-zig
path: /tmp/tls13-zig.tar
Expand All @@ -67,11 +67,11 @@ jobs:
runs-on: ubuntu-latest
needs: create-container
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: tls13-zig
path: /tmp
Expand All @@ -90,11 +90,11 @@ jobs:
runs-on: ubuntu-latest
needs: create-container
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: tls13-zig
path: /tmp
Expand All @@ -116,11 +116,11 @@ jobs:
runs-on: ubuntu-latest
needs: create-container
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: tls13-zig
path: /tmp
Expand All @@ -139,11 +139,11 @@ jobs:
runs-on: ubuntu-latest
needs: create-container
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: tls13-zig
path: /tmp
Expand All @@ -165,11 +165,11 @@ jobs:
runs-on: ubuntu-latest
needs: create-container
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: tls13-zig
path: /tmp
Expand All @@ -188,11 +188,11 @@ jobs:
runs-on: ubuntu-latest
needs: create-container
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: docker/setup-buildx-action@v2
- uses: docker/setup-buildx-action@v3

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: tls13-zig
path: /tmp
Expand Down

0 comments on commit fbe8772

Please sign in to comment.