docs: update CHANGELOG for v0.3.0 release #198
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Status | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| go-version: ['1.25.x', '1.26.x'] | |
| runs-on: ${{ matrix.os }} | |
| name: test (${{ matrix.os }}, go ${{ matrix.go-version }}) | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| cache: true | |
| - name: Install Dart Sass | |
| run: | | |
| if [ "$RUNNER_OS" = "Linux" ]; then | |
| wget -qO- https://github.com/sass/dart-sass/releases/download/1.80.7/dart-sass-1.80.7-linux-x64.tar.gz | tar -xz | |
| echo "$GITHUB_WORKSPACE/dart-sass" >> $GITHUB_PATH | |
| elif [ "$RUNNER_OS" = "macOS" ]; then | |
| wget -qO- https://github.com/sass/dart-sass/releases/download/1.80.7/dart-sass-1.80.7-macos-x64.tar.gz | tar -xz | |
| echo "$GITHUB_WORKSPACE/dart-sass" >> $GITHUB_PATH | |
| elif [ "$RUNNER_OS" = "Windows" ]; then | |
| curl -LO https://github.com/sass/dart-sass/releases/download/1.80.7/dart-sass-1.80.7-windows-x64.zip | |
| unzip -q dart-sass-1.80.7-windows-x64.zip | |
| echo "$GITHUB_WORKSPACE/dart-sass" >> $GITHUB_PATH | |
| fi | |
| shell: bash | |
| - name: Build | |
| run: go build main.go | |
| - name: Test | |
| run: go test ./... | |
| # format-check: | |
| # name: Format Check | |
| # runs-on: ubuntu-latest | |
| # | |
| # steps: | |
| # - name: Checkout | |
| # uses: actions/checkout@v4 | |
| # | |
| # - name: Install Go | |
| # uses: actions/setup-go@v5 | |
| # with: | |
| # go-version: '1.25.x' | |
| # | |
| # - name: Check formatting | |
| # run: | | |
| # go fmt ./... | |
| # if [ -n "$(git status --porcelain)" ]; then | |
| # echo "Code is not formatted. Please run 'go fmt ./...'" | |
| # git diff | |
| # exit 1 | |
| # fi | |
| # | |
| # TODO: Re-enable after formatting code in separate PR | |
| verify-mod: | |
| name: Verify go.mod | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.25.x' | |
| - name: Check go.mod and go.sum | |
| run: | | |
| go mod tidy | |
| if [ -n "$(git status --porcelain go.mod go.sum)" ]; then | |
| echo "go.mod or go.sum is not up to date. Please run 'go mod tidy'" | |
| git diff go.mod go.sum | |
| exit 1 | |
| fi |