From d1c1dcdaa72265873930e24b590f2ca774112be8 Mon Sep 17 00:00:00 2001 From: Zachary Snow Date: Mon, 15 Apr 2024 00:26:57 -0400 Subject: [PATCH] refresh GitHub Actions versions --- .github/workflows/main.yaml | 29 ++++++++++++++++------------- .github/workflows/notice.yaml | 4 ++-- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 5c1293b2..89e86701 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -16,18 +16,21 @@ jobs: strategy: matrix: os: - - ubuntu-20.04 - - macOS-11 - - windows-2019 + - ubuntu-22.04 + - macOS-13 + - windows-2022 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 + - name: Install Dependencies (macOS) + if: runner.os == 'macOS' + run: brew install haskell-stack - name: Build run: make - name: Prepare Artifact shell: bash run: cp LICENSE NOTICE README.md CHANGELOG.md bin - name: Upload Artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: ${{ runner.os }} path: bin @@ -37,13 +40,13 @@ jobs: strategy: matrix: os: - - ubuntu-20.04 - - macOS-11 + - ubuntu-22.04 + - macOS-13 needs: build env: IVERILOG_REF: f31d0dcbc5ddcd97e1e2e6f7bc7eb0f5a547fe16 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Install Dependencies (macOS) if: runner.os == 'macOS' run: | @@ -53,7 +56,7 @@ jobs: if: runner.os == 'Linux' run: sudo apt-get install -y shunit2 flex bison autoconf gperf - name: Cache iverilog - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.local key: ${{ runner.OS }}-${{ env.IVERILOG_REF }} @@ -71,7 +74,7 @@ jobs: cd .. fi - name: Download Artifact - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: ${{ runner.os }} path: bin @@ -82,7 +85,7 @@ jobs: make test release: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: name: [macOS, Linux, Windows] @@ -90,7 +93,7 @@ jobs: if: github.event_name == 'release' steps: - name: Download Artifact - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: ${{ matrix.name }} path: sv2v-${{ matrix.name }} @@ -99,7 +102,7 @@ jobs: - name: Create ZIP run: zip -r sv2v-${{ matrix.name }} ./sv2v-${{ matrix.name }} - name: Upload Release Asset - uses: actions/upload-release-asset@v1.0.1 + uses: actions/upload-release-asset@v1.0.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/notice.yaml b/.github/workflows/notice.yaml index ec0093d4..8c417f22 100644 --- a/.github/workflows/notice.yaml +++ b/.github/workflows/notice.yaml @@ -11,9 +11,9 @@ on: - NOTICE jobs: notice: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Regenerate NOTICE run: ./notice.sh > NOTICE - name: Validate NOTICE