diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c33c8d1a..b50dccd2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ on: jobs: run: name: Run simulation - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@v4 with: @@ -35,7 +35,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.25' + go-version-file: 'go.mod' cache: true - name: Run simulation diff --git a/.github/workflows/changelog_update.yml b/.github/workflows/changelog_update.yml index eb7ff6d2..ec5b1073 100644 --- a/.github/workflows/changelog_update.yml +++ b/.github/workflows/changelog_update.yml @@ -13,7 +13,7 @@ on: jobs: check: name: Check for CHANGELOG updates - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a0d50567..40a67824 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -21,12 +21,12 @@ jobs: strategy: matrix: go: [ '1.24', '1.25'] - os: [ubuntu-latest, windows-2022, macos-14] + os: [ubuntu-latest, windows-latest, macos-latest] exclude: # Only latest Go version for Windows and MacOS. - - os: windows-2022 + - os: windows-latest go: '1.24' - - os: macos-14 + - os: macos-latest go: '1.24' # Exclude latest Go version for Ubuntu as Coverage uses it. - os: ubuntu-latest @@ -71,7 +71,7 @@ jobs: codeql: name: CodeQL - runs-on: ubuntu-latest + runs-on: ubuntu-slim strategy: fail-fast: false @@ -82,6 +82,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: