Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tonimelisma committed Nov 10, 2023
1 parent b0c4cc1 commit c4cb962
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
CGO_CFLAGS_ALLOW: -Xpreprocessor
strategy:
matrix:
os: [ubuntu-22.04, macos-11]
os: [ubuntu-latest, macos-latest]

steps:
- name: Set up Go 1.x
Expand All @@ -22,13 +22,13 @@ jobs:
uses: actions/checkout@v2

- name: Install linux deps
if: matrix.os == 'ubuntu-22.04'
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get -y install libopenjp2-7
sudo apt-get -y install libvips-dev
- name: Install macos deps
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-latest'
run: |
brew install vips
Expand All @@ -43,7 +43,7 @@ jobs:
run: go test -v -coverprofile=profile.cov ./...

- name: Coveralls
if: matrix.os == 'ubuntu-22.04'
if: matrix.os == 'ubuntu-latest'
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov

0 comments on commit c4cb962

Please sign in to comment.