Skip to content

Commit

Permalink
GHA: Switch action to the official setup-msys2 (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Jul 28, 2020
1 parent 0c5f1da commit 235a76d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bench.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2

- name: Install Rust
uses: actions-rs/toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2

- name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2

- name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/windows-mingw.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2

- name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1
Expand All @@ -31,12 +31,12 @@ jobs:
override: true

- name: Install MSYS2
uses: numworks/setup-msys2@v1
uses: msys2/setup-msys2@v2

- name: Install packages
run: |
msys2do pacman -Sy --noconfirm pacman
msys2do pacman --noconfirm -S base-devel pkg-config
msys2 -c 'pacman -Sy --noconfirm pacman'
msys2 -c 'pacman --noconfirm -S base-devel pkg-config'
- name: check build
uses: actions-rs/cargo@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2

- name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit 235a76d

Please sign in to comment.