feat: support macOS, Windows and arm64 #6
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
arch: [amd64, arm64] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: List directory contents | |
run: ls -R | |
- name: Run Setup Coder Action | |
uses: ./ | |
with: | |
access_url: ${{ secrets.CODER_URL }} | |
coder_session_token: ${{ secrets.CODER_SESSION_TOKEN }} | |
- name: Run Coder CLI | |
run: | | |
coder version | |
coder whoami |