feat(deps): bump github.com/klauspost/compress from 1.17.1 to 1.17.2 … #84
This file contains 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: windows | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
paths: | |
- "go.*" | |
- "**/*.go" | |
- "Taskfile.yml" | |
- ".github/workflows/windows.yml" | |
pull_request: | |
paths: | |
- "go.*" | |
- "**/*.go" | |
- "Taskfile.yml" | |
- ".github/workflows/windows.yml" | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: stable | |
- uses: arduino/setup-task@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: setup-tparse | |
run: go install github.com/mfridman/tparse@latest | |
- run: task setup | |
- name: test | |
shell: bash | |
run: ./scripts/test.sh test windows-latest | |
build-pkgs: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: stable | |
- uses: arduino/setup-task@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- shell: bash | |
run: | | |
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV | |
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 | |
with: | |
path: dist/ | |
key: ${{ env.sha_short }} | |
enableCrossOsArchive: true | |
- run: task acceptance:windows:package | |
install-pkgs: | |
runs-on: ubuntu-latest | |
needs: [build-pkgs] | |
steps: | |
- uses: docker/setup-qemu-action@v3 | |
- uses: actions/checkout@v4 | |
- uses: arduino/setup-task@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- shell: bash | |
run: | | |
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV | |
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 | |
with: | |
path: dist/ | |
key: ${{ env.sha_short }} | |
enableCrossOsArchive: true | |
- run: task acceptance:windows:install |